{"action":"created","issue":{"url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/304","repository_url":"https://api.github.com/repos/TechnologyAdvice/stardust","labels_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/304/labels{/name}","comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/304/comments","events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/304/events","html_url":"https://github.com/TechnologyAdvice/stardust/issues/304","id":162623164,"number":304,"title":"File docgenInfo.json missing from 'docs/app'","user":{"login":"joshuazmiller","id":20162542,"avatar_url":"https://avatars.githubusercontent.com/u/20162542?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuazmiller","html_url":"https://github.com/joshuazmiller","followers_url":"https://api.github.com/users/joshuazmiller/followers","following_url":"https://api.github.com/users/joshuazmiller/following{/other_user}","gists_url":"https://api.github.com/users/joshuazmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuazmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuazmiller/subscriptions","organizations_url":"https://api.github.com/users/joshuazmiller/orgs","repos_url":"https://api.github.com/users/joshuazmiller/repos","events_url":"https://api.github.com/users/joshuazmiller/events{/privacy}","received_events_url":"https://api.github.com/users/joshuazmiller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-28T07:49:02Z","updated_at":"2016-06-28T08:57:20Z","closed_at":null,"body":"I assume this file is generated; however, when running the initial 'npm start' a breaking error occurs where webpack notes that docgenInfo.json is missing. This file is referenced by [doc/app/utils/getComponentDocInfo.js](https://github.com/TechnologyAdvice/stardust/blob/master/docs/app/utils/getComponentDocInfo.js) `import docgenInfo from '../docgenInfo.json'`. Perhaps this file aught to be included in the repo perhaps with some default content?"},"comment":{"url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/comments/228991686","html_url":"https://github.com/TechnologyAdvice/stardust/issues/304#issuecomment-228991686","issue_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/304","id":228991686,"user":{"login":"joshuazmiller","id":20162542,"avatar_url":"https://avatars.githubusercontent.com/u/20162542?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuazmiller","html_url":"https://github.com/joshuazmiller","followers_url":"https://api.github.com/users/joshuazmiller/followers","following_url":"https://api.github.com/users/joshuazmiller/following{/other_user}","gists_url":"https://api.github.com/users/joshuazmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuazmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuazmiller/subscriptions","organizations_url":"https://api.github.com/users/joshuazmiller/orgs","repos_url":"https://api.github.com/users/joshuazmiller/repos","events_url":"https://api.github.com/users/joshuazmiller/events{/privacy}","received_events_url":"https://api.github.com/users/joshuazmiller/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T08:57:20Z","updated_at":"2016-06-28T08:57:20Z","body":"This was the original error output the first time I ran the command. I got around the errors by installing both packages and creating a docgenInfo.json file with {} as its contents. After that, those errors disappeared. I just deleted the file and ran 'npm build' and the file was still *not* created. That's why I'm thinking adding the empty file (with {} in it) to the repo may help future users, or else as you mentioned adding it later through the build process.\r\n\r\n> \"C:\\Program Files\\nodejs\\npm.cmd\" start\r\n> stardust@0.16.2 start C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\r\n> npm run docs\r\n> stardust@0.16.2 docs C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\r\n> gulp\r\n[00:24:26] Failed to load external module babel-register\r\n[00:24:26] Requiring external module babel-core/register\r\n[00:25:01] Using gulpfile ~\\Dropbox\\GitHub\\stardust\\gulpfile.babel.js\r\n[00:25:01] Starting 'default'...\r\n[00:25:01] Starting 'generate-docs-json'...\r\n[00:25:03] Error in plugin 'gulp-react-docgen'\r\nMessage:\r\n    No suitable component definition found.\r\nFile: C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\src\\elements\\List\\List.js.\r\n[00:25:03] Finished 'generate-docs-json' after 2.68 s\r\n[00:25:03] Starting 'serve'...\r\n[00:25:03] Starting 'dll'...\r\n[00:25:09] Time: 5378ms\r\n                             Asset     Size  Chunks             Chunk Names\r\ndll.vendor.f512fba142c8152c8dbc.js  4.42 MB       0  [emitted]  vendor\r\n[00:25:09] Finished 'dll' after 5.74 s\r\n[00:25:09] Starting 'serve'...\r\n[00:25:11] Server running at http://localhost:8080\r\n[00:25:11] Finished 'serve' after 2.03 s\r\n[00:25:11] Finished 'serve' after 7.77 s\r\n[00:25:11] Starting 'watch'...\r\n[00:25:11] Finished 'watch' after 9.09 ms\r\n[00:25:11] Finished 'default' after 10 s\r\nwebpack built 9283296a0da510fdf652 in 25000ms\r\nTime: 25000ms\r\n                         Asset     Size  Chunks       Chunk Names\r\n   app.9283296a0da510fdf652.js  4.26 MB       0       app\r\nvendor.9283296a0da510fdf652.js  4.33 MB       1       vendor\r\nERROR in ./docs/app/App.js\r\nModule not found: Error: Cannot resolve module 'history' in C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\r\nresolve module history in C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\r\n  looking for modules in C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\r\n    C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history doesn't exist (module as directory)\r\n    resolve 'file' history in C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\r\n      resolve file\r\n        C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history doesn't exist\r\n        C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history.webpack.js doesn't exist\r\n        C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history.web.js doesn't exist\r\n        C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history.js doesn't exist\r\n        C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history.json doesn't exist\r\n  looking for modules in C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\r\n    C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history doesn't exist (module as directory)\r\n    resolve 'file' history in C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\r\n      resolve file\r\n        C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history doesn't exist\r\n        C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history.webpack.js doesn't exist\r\n        C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history.web.js doesn't exist\r\n        C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history.js doesn't exist\r\n        C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history.json doesn't exist\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history.webpack.js]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history.web.js]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history.js]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\history.json]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history.webpack.js]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history.web.js]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history.js]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\node_modules\\history.json]\r\n @ ./docs/app/App.js 27:15-33\r\nERROR in ./docs/app/utils/getComponentDocInfo.js\r\nModule not found: Error: Cannot resolve 'file' or 'directory' ../docgenInfo.json in C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\utils\r\nresolve file\r\n  C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json doesn't exist\r\n  C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json.webpack.js doesn't exist\r\n  C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json.web.js doesn't exist\r\n  C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json.json doesn't exist\r\n  C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json.js doesn't exist\r\nresolve directory\r\n  C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json doesn't exist (directory default file)\r\n  C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json\\package.json doesn't exist (directory description file)\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json.webpack.js]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json.web.js]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json.json]\r\n[C:\\Users\\Joshua\\Dropbox\\GitHub\\stardust\\docs\\app\\docgenInfo.json.js]\r\n @ ./docs/app/utils/getComponentDocInfo.js 15:18-47\r\nChild html-webpack-plugin for \"index.html\":\r\n         Asset     Size  Chunks       Chunk Names\r\n    index.html  1.38 MB       0       \r\nProcess finished with exit code -1 at 00:26:57.\r\nExecution time: 159,474 ms."}}
{"actor":{"display_login":"joshuazmiller"}}