{"action":"created","issue":{"url":"https://api.github.com/repos/yiminghe/learning-react/issues/5","labels_url":"https://api.github.com/repos/yiminghe/learning-react/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/yiminghe/learning-react/issues/5/comments","events_url":"https://api.github.com/repos/yiminghe/learning-react/issues/5/events","html_url":"https://github.com/yiminghe/learning-react/issues/5","id":96713141,"number":5,"title":"Error while running npm start","user":{"login":"ieiayaobb","id":1452329,"avatar_url":"https://avatars.githubusercontent.com/u/1452329?v=3","gravatar_id":"","url":"https://api.github.com/users/ieiayaobb","html_url":"https://github.com/ieiayaobb","followers_url":"https://api.github.com/users/ieiayaobb/followers","following_url":"https://api.github.com/users/ieiayaobb/following{/other_user}","gists_url":"https://api.github.com/users/ieiayaobb/gists{/gist_id}","starred_url":"https://api.github.com/users/ieiayaobb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ieiayaobb/subscriptions","organizations_url":"https://api.github.com/users/ieiayaobb/orgs","repos_url":"https://api.github.com/users/ieiayaobb/repos","events_url":"https://api.github.com/users/ieiayaobb/events{/privacy}","received_events_url":"https://api.github.com/users/ieiayaobb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-23T02:41:03Z","updated_at":"2015-07-29T04:09:46Z","closed_at":null,"body":"Could you help to check the error messages?\r\nnpm start\r\n\r\n> learning-react@1.0.0 start /Volumes/Content/studyworkspace/learning-react\r\n> node --harmony server\r\n\r\n/Volumes/Content/studyworkspace/learning-react/node_modules/babel-core/lib/babel/transformation/file/index.js:604\r\n      throw err;\r\n            ^\r\nTypeError: /Volumes/Content/studyworkspace/learning-react/example/code-share/server.jsx: Cannot read property 'declareTemporary' of null\r\n    at getOuterFnExpr (/Volumes/Content/studyworkspace/learning-react/node_modules/babel-core/node_modules/regenerator/lib/visit.js:287:35)\r\n    at Context.types.PathVisitor.fromMethodsObject.visitFunction (/Volumes/Content/studyworkspace/learning-react/node_modules/babel-core/node_modules/regenerator/lib/visit.js:107:23)\r\n    at Context.invokeVisitorMethod (/Volumes/Content/studyworkspace/learning-react/node_modules/babel-core/node_modules/regenerator/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:306:43)\r\n    at Visitor.PVp.visitWithoutReset (/Volumes/Content/studyworkspace/learning-react/node_modules/babel-core/node_modules/regenerator/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:180:28)\r\n    at visitChildren (/Volumes/Content/studyworkspace/learning-react/node_modules/babel-core/node_modules/regenerator/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:226:21)\r\n    at Visitor.PVp.visitWithoutReset (/Volumes/Content/studyworkspace/learning-react/node_modules/babel-core/node_modules/regenerator/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:188:16)\r\n    at Visitor.PVp.visit (/Volumes/Content/studyworkspace/learning-react/node_modules/babel-core/node_modules/regenerator/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:124:25)\r\n    at Function.transform (/Volumes/Content/studyworkspace/learning-react/node_modules/babel-core/node_modules/regenerator/lib/visit.js:30:11)\r\n    at TraversalPath.Func (/Volumes/Content/studyworkspace/learning-react/node_modules/babel-core/lib/babel/transformation/transformers/other/regenerator.js:35:30)\r\n    at TraversalPath.call (/Volumes/Content/studyworkspace/learning-react/node_modules/babel-core/lib/babel/traversal/path/index.js:928:28)"},"comment":{"url":"https://api.github.com/repos/yiminghe/learning-react/issues/comments/125833031","html_url":"https://github.com/yiminghe/learning-react/issues/5#issuecomment-125833031","issue_url":"https://api.github.com/repos/yiminghe/learning-react/issues/5","id":125833031,"user":{"login":"yiminghe","id":200876,"avatar_url":"https://avatars.githubusercontent.com/u/200876?v=3","gravatar_id":"","url":"https://api.github.com/users/yiminghe","html_url":"https://github.com/yiminghe","followers_url":"https://api.github.com/users/yiminghe/followers","following_url":"https://api.github.com/users/yiminghe/following{/other_user}","gists_url":"https://api.github.com/users/yiminghe/gists{/gist_id}","starred_url":"https://api.github.com/users/yiminghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiminghe/subscriptions","organizations_url":"https://api.github.com/users/yiminghe/orgs","repos_url":"https://api.github.com/users/yiminghe/repos","events_url":"https://api.github.com/users/yiminghe/events{/privacy}","received_events_url":"https://api.github.com/users/yiminghe/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T04:09:46Z","updated_at":"2015-07-29T04:09:46Z","body":"try pull and re npm start\r\n\r\n"}}