{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/next.js/issues/4920","repository_url":"https://api.github.com/repos/zeit/next.js","labels_url":"https://api.github.com/repos/zeit/next.js/issues/4920/labels{/name}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/4920/comments","events_url":"https://api.github.com/repos/zeit/next.js/issues/4920/events","html_url":"https://github.com/zeit/next.js/issues/4920","id":348616519,"node_id":"MDU6SXNzdWUzNDg2MTY1MTk=","number":4920,"title":"Paths when build on Windows and deploying on Linux","user":{"login":"dbuchet-bandc","id":28299515,"node_id":"MDQ6VXNlcjI4Mjk5NTE1","avatar_url":"https://avatars1.githubusercontent.com/u/28299515?v=4","gravatar_id":"","url":"https://api.github.com/users/dbuchet-bandc","html_url":"https://github.com/dbuchet-bandc","followers_url":"https://api.github.com/users/dbuchet-bandc/followers","following_url":"https://api.github.com/users/dbuchet-bandc/following{/other_user}","gists_url":"https://api.github.com/users/dbuchet-bandc/gists{/gist_id}","starred_url":"https://api.github.com/users/dbuchet-bandc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbuchet-bandc/subscriptions","organizations_url":"https://api.github.com/users/dbuchet-bandc/orgs","repos_url":"https://api.github.com/users/dbuchet-bandc/repos","events_url":"https://api.github.com/users/dbuchet-bandc/events{/privacy}","received_events_url":"https://api.github.com/users/dbuchet-bandc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-08T08:00:13Z","updated_at":"2018-09-03T22:05:14Z","closed_at":null,"author_association":"NONE","body":"# Bug report\r\n\r\n## Describe the bug\r\nHello there.\r\nI started the exemple to deploy a NextJS app on Firebase Hosting.\r\nIt work well on local, but when I deploy and try online, I have an \"Internal Servor Error\" with this line in logs\r\n`Error: Cannot find module '/user_code/next/server/bundles\\pages\\index.js`\r\n\r\nI assume this is because I built the app on a Windows env, and deploying to a Linux.\r\n\r\nIs there an option somewhere to force slashes during build?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/zeit/next.js/issues/comments/418198409","html_url":"https://github.com/zeit/next.js/issues/4920#issuecomment-418198409","issue_url":"https://api.github.com/repos/zeit/next.js/issues/4920","id":418198409,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODE5ODQwOQ==","user":{"login":"Enalmada","id":1892132,"node_id":"MDQ6VXNlcjE4OTIxMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/1892132?v=4","gravatar_id":"","url":"https://api.github.com/users/Enalmada","html_url":"https://github.com/Enalmada","followers_url":"https://api.github.com/users/Enalmada/followers","following_url":"https://api.github.com/users/Enalmada/following{/other_user}","gists_url":"https://api.github.com/users/Enalmada/gists{/gist_id}","starred_url":"https://api.github.com/users/Enalmada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Enalmada/subscriptions","organizations_url":"https://api.github.com/users/Enalmada/orgs","repos_url":"https://api.github.com/users/Enalmada/repos","events_url":"https://api.github.com/users/Enalmada/events{/privacy}","received_events_url":"https://api.github.com/users/Enalmada/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T22:05:14Z","updated_at":"2018-09-03T22:05:14Z","author_association":"CONTRIBUTOR","body":"I tried to build on windows and deploy that result to AWS beanstalk and got the slashes issue.  It probably would be nice to be able to pass in some path character variable override.  I used Windows Subsystem for Linux to get around this:  \r\n\r\n```\r\n# optional symbolic link for convenience: https://superuser.com/questions/1083962/windows-linux-subsystem-accessing-files-outside-of-ubuntu\r\nln -s  /mnt/<repo_path> ./<repo>\r\n\r\n# install node: https://gist.github.com/ryanttb/9c66880b367930e402c2323c024cd202\r\n# if you forget pwd: https://askubuntu.com/questions/772050/reset-the-password-in-linux-bash-in-windows/808425#808425\r\nsudo su\r\ncurl -sL https://deb.nodesource.com/setup_8.x > install_node.sh\r\nchmod a+x install_node.sh\r\n./install_node.sh\r\napt-get install nodejs\r\nnpm install npm@latest -g\r\n```"}}
{"actor":{"display_login":"Enalmada"}}