{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/next.js/issues/198","repository_url":"https://api.github.com/repos/zeit/next.js","labels_url":"https://api.github.com/repos/zeit/next.js/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/198/comments","events_url":"https://api.github.com/repos/zeit/next.js/issues/198/events","html_url":"https://github.com/zeit/next.js/issues/198","id":187345591,"number":198,"title":"Error: Cannot find module when deploying to heroku","user":{"login":"nvartolomei","id":543193,"avatar_url":"https://avatars.githubusercontent.com/u/543193?v=3","gravatar_id":"","url":"https://api.github.com/users/nvartolomei","html_url":"https://github.com/nvartolomei","followers_url":"https://api.github.com/users/nvartolomei/followers","following_url":"https://api.github.com/users/nvartolomei/following{/other_user}","gists_url":"https://api.github.com/users/nvartolomei/gists{/gist_id}","starred_url":"https://api.github.com/users/nvartolomei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvartolomei/subscriptions","organizations_url":"https://api.github.com/users/nvartolomei/orgs","repos_url":"https://api.github.com/users/nvartolomei/repos","events_url":"https://api.github.com/users/nvartolomei/events{/privacy}","received_events_url":"https://api.github.com/users/nvartolomei/received_events","type":"User","site_admin":false},"labels":[{"id":455907192,"url":"https://api.github.com/repos/zeit/next.js/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-11-04T14:21:39Z","updated_at":"2016-11-14T15:52:39Z","closed_at":null,"body":"Using latest next.js relase and a simple hello world index page with 0 dependencies fails to run on heroku with the following error:\r\n\r\n```js\r\n{ Error: Cannot find module '/tmp/build_xxx/node_modules/babel-runtime/helpers/inherits'\r\n    at Function.Module._resolveFilename (module.js:455:15)\r\n    at Function.Module._load (module.js:403:25)\r\n    at Module.require (module.js:483:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/app/.next/dist/pages/index.js:7:18)\r\n    at Module._compile (module.js:556:32)\r\n    at Object.Module._extensions..js (module.js:565:10)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3) code: 'MODULE_NOT_FOUND' }\r\n```"},"comment":{"url":"https://api.github.com/repos/zeit/next.js/issues/comments/260373481","html_url":"https://github.com/zeit/next.js/issues/198#issuecomment-260373481","issue_url":"https://api.github.com/repos/zeit/next.js/issues/198","id":260373481,"user":{"login":"nkzawa","id":775227,"avatar_url":"https://avatars.githubusercontent.com/u/775227?v=3","gravatar_id":"","url":"https://api.github.com/users/nkzawa","html_url":"https://github.com/nkzawa","followers_url":"https://api.github.com/users/nkzawa/followers","following_url":"https://api.github.com/users/nkzawa/following{/other_user}","gists_url":"https://api.github.com/users/nkzawa/gists{/gist_id}","starred_url":"https://api.github.com/users/nkzawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkzawa/subscriptions","organizations_url":"https://api.github.com/users/nkzawa/orgs","repos_url":"https://api.github.com/users/nkzawa/repos","events_url":"https://api.github.com/users/nkzawa/events{/privacy}","received_events_url":"https://api.github.com/users/nkzawa/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T15:52:39Z","updated_at":"2016-11-14T15:52:39Z","body":"next.js transforms some `require` paths to absolute ones on `next build`, but it looks these paths couldn't be resolved on runtime. Maybe because of module cache Heroku do ?"}}
{"actor":{"display_login":"nkzawa"}}