{"action":"created","issue":{"url":"https://api.github.com/repos/nozzle/react-static/issues/29","repository_url":"https://api.github.com/repos/nozzle/react-static","labels_url":"https://api.github.com/repos/nozzle/react-static/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/nozzle/react-static/issues/29/comments","events_url":"https://api.github.com/repos/nozzle/react-static/issues/29/events","html_url":"https://github.com/nozzle/react-static/issues/29","id":264685012,"number":29,"title":"Error while building","user":{"login":"mohammedzamakhan","id":2327532,"avatar_url":"https://avatars3.githubusercontent.com/u/2327532?v=4","gravatar_id":"","url":"https://api.github.com/users/mohammedzamakhan","html_url":"https://github.com/mohammedzamakhan","followers_url":"https://api.github.com/users/mohammedzamakhan/followers","following_url":"https://api.github.com/users/mohammedzamakhan/following{/other_user}","gists_url":"https://api.github.com/users/mohammedzamakhan/gists{/gist_id}","starred_url":"https://api.github.com/users/mohammedzamakhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohammedzamakhan/subscriptions","organizations_url":"https://api.github.com/users/mohammedzamakhan/orgs","repos_url":"https://api.github.com/users/mohammedzamakhan/repos","events_url":"https://api.github.com/users/mohammedzamakhan/events{/privacy}","received_events_url":"https://api.github.com/users/mohammedzamakhan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-10-11T18:15:44Z","updated_at":"2017-10-12T03:50:59Z","closed_at":"2017-10-11T23:52:29Z","author_association":"NONE","body":"When I used `react-static create` to create the sample application and selected `basic` template, I get this error when I ran `yarn build`\r\n\r\n```\r\nERROR in ./src/App.js\r\nModule not found: Error: Can't resolve 'react-static-routes' in '/Users/Zama/Desktop/passion/my-static-site/src'\r\n @ ./src/App.js 13:25-55\r\n @ ./src/index.js\r\n @ multi ./src/index\r\n\r\n=> There were ERRORS during the production build stage! :(\r\n=> Fix them and try again!\r\n```\r\n\r\nand when I selected `custom routing`, I got this error\r\n\r\n```\r\nTypeError: (0 , _reactStatic.getSiteProps) is not a function\r\n    at Object.<anonymous> (/Users/Zama/Desktop/passion/custom-static-site/src/containers/Home.js:4:16)\r\n    at Module._compile (module.js:570:32)\r\n    at loader (/Users/Zama/Desktop/passion/custom-static-site/node_modules/babel-register/lib/node.js:144:5)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/Zama/Desktop/passion/custom-static-site/node_modules/babel-register/lib/node.js:154:7)\r\n    at Module.load (module.js:487:32)\r\n    at tryModuleLoad (module.js:446:12)\r\n    at Function.Module._load (module.js:438:3)\r\n    at Module.require (module.js:497:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/Users/Zama/Desktop/passion/custom-static-site/src/App.js:4:1)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/nozzle/react-static/issues/comments/336013259","html_url":"https://github.com/nozzle/react-static/issues/29#issuecomment-336013259","issue_url":"https://api.github.com/repos/nozzle/react-static/issues/29","id":336013259,"user":{"login":"CyberKronos","id":1593824,"avatar_url":"https://avatars3.githubusercontent.com/u/1593824?v=4","gravatar_id":"","url":"https://api.github.com/users/CyberKronos","html_url":"https://github.com/CyberKronos","followers_url":"https://api.github.com/users/CyberKronos/followers","following_url":"https://api.github.com/users/CyberKronos/following{/other_user}","gists_url":"https://api.github.com/users/CyberKronos/gists{/gist_id}","starred_url":"https://api.github.com/users/CyberKronos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyberKronos/subscriptions","organizations_url":"https://api.github.com/users/CyberKronos/orgs","repos_url":"https://api.github.com/users/CyberKronos/repos","events_url":"https://api.github.com/users/CyberKronos/events{/privacy}","received_events_url":"https://api.github.com/users/CyberKronos/received_events","type":"User","site_admin":false},"created_at":"2017-10-12T03:50:59Z","updated_at":"2017-10-12T03:50:59Z","author_association":"NONE","body":"My mistake all is good now! Thanks for the response."}}
{"actor":{"display_login":"CyberKronos"}}