{"action":"opened","issue":{"url":"https://api.github.com/repos/MoOx/phenomic/issues/727","repository_url":"https://api.github.com/repos/MoOx/phenomic","labels_url":"https://api.github.com/repos/MoOx/phenomic/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/MoOx/phenomic/issues/727/comments","events_url":"https://api.github.com/repos/MoOx/phenomic/issues/727/events","html_url":"https://github.com/MoOx/phenomic/issues/727","id":175026535,"number":727,"title":"docs-start failed to run.","user":{"login":"kevin940726","id":7753001,"avatar_url":"https://avatars.githubusercontent.com/u/7753001?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin940726","html_url":"https://github.com/kevin940726","followers_url":"https://api.github.com/users/kevin940726/followers","following_url":"https://api.github.com/users/kevin940726/following{/other_user}","gists_url":"https://api.github.com/users/kevin940726/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin940726/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin940726/subscriptions","organizations_url":"https://api.github.com/users/kevin940726/orgs","repos_url":"https://api.github.com/users/kevin940726/repos","events_url":"https://api.github.com/users/kevin940726/events{/privacy}","received_events_url":"https://api.github.com/users/kevin940726/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-05T09:03:27Z","updated_at":"2016-09-05T09:03:27Z","closed_at":null,"body":"Enviroment:\r\n* node v6.0.0\r\n* npm v3.9.5\r\n\r\nSteps to reproduce the bug:\r\n* clone the master\r\n* npm install\r\n* npm run docs-start\r\n\r\nError output:\r\n```\r\n> phenomic@0.16.2 predocs-start /Users/Kai/Work/SideProjects/phenomic\r\n> npm -s run docs\r\n\r\n/Users/Kai/Work/SideProjects/phenomic/docs/node_modules/phenomic/lib/index.js:8\r\nexport { default as PageContainer } from \"./components/PageContainer\"\r\n^^^^^^\r\nSyntaxError: Unexpected token export\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:511:25)\r\n    at Module._extensions..js (module.js:550:10)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/Kai/Work/SideProjects/phenomic/node_modules/babel-register/lib/node.js:154:7)\r\n    at Module.load (module.js:456:32)\r\n    at tryModuleLoad (module.js:415:12)\r\n    at Function.Module._load (module.js:407:3)\r\n    at Module.require (module.js:466:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/Users/Kai/Work/SideProjects/phenomic/docs/webpack.config.babel.js:5:1)\r\n    at Module._compile (module.js:541:32)\r\n    at loader (/Users/Kai/Work/SideProjects/phenomic/node_modules/babel-register/lib/node.js:146:5)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/Kai/Work/SideProjects/phenomic/node_modules/babel-register/lib/node.js:156:7)\r\n    at Module.load (module.js:456:32)\r\n    at tryModuleLoad (module.js:415:12)\r\n    at Function.Module._load (module.js:407:3)\r\n\r\n/Users/Kai/Work/SideProjects/phenomic/scripts/utils/test-folder.js:118\r\n              throw _context.t0;\r\n              ^\r\nCommandError\r\n    at ChildProcess.spawnOnClose (/Users/Kai/Work/SideProjects/phenomic/node_modules/async-exec-cmd/index.js:149:18)\r\n    at emitTwo (events.js:106:13)\r\n    at ChildProcess.emit (events.js:191:7)\r\n    at maybeClose (internal/child_process.js:850:16)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)\r\n```\r\n\r\nIs this [line](https://github.com/MoOx/phenomic/blob/master/scripts/docs.js#L3) meant to create symlink for the `node_modules`? Why we linked from `src` instead of `lib`?"}}
{"actor":{"display_login":"kevin940726"}}