{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/8205","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/8205/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/8205/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/8205/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/8205","id":360654143,"node_id":"MDU6SXNzdWUzNjA2NTQxNDM=","number":8205,"title":"[v2] Build breaking on Netlify ","user":{"login":"merelinguist","id":24858006,"node_id":"MDQ6VXNlcjI0ODU4MDA2","avatar_url":"https://avatars3.githubusercontent.com/u/24858006?v=4","gravatar_id":"","url":"https://api.github.com/users/merelinguist","html_url":"https://github.com/merelinguist","followers_url":"https://api.github.com/users/merelinguist/followers","following_url":"https://api.github.com/users/merelinguist/following{/other_user}","gists_url":"https://api.github.com/users/merelinguist/gists{/gist_id}","starred_url":"https://api.github.com/users/merelinguist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merelinguist/subscriptions","organizations_url":"https://api.github.com/users/merelinguist/orgs","repos_url":"https://api.github.com/users/merelinguist/repos","events_url":"https://api.github.com/users/merelinguist/events{/privacy}","received_events_url":"https://api.github.com/users/merelinguist/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-16T16:19:37Z","updated_at":"2018-09-16T16:52:23Z","closed_at":"2018-09-16T16:52:23Z","author_association":"CONTRIBUTOR","body":"## Description\r\n\r\nBuild works locally, but fails on Netlify.\r\n\r\n### Steps to reproduce\r\n\r\nProject is here: https://github.com/merelinguist/playhouse-press/pull/225\r\n\r\n### Expected result\r\n\r\nI would expect it to build normally.\r\n\r\n### Actual result\r\n\r\nBuild works fine locally, but breaks on Netlify:\r\n\r\n```sh\r\nerror Generating JavaScript bundles failed\r\n\r\n  Error: ./src/components/Page/index.js\r\n  Module not found: Error: Can't resolve '../Footer' in '/opt/build/repo/src/com  ponents/Page'\r\n  resolve '../Footer' in '/opt/build/repo/src/components/Page'\r\n    using description file: /opt/build/repo/package.json (relative path: ./src/c  omponents/Page)\r\n      Field 'browser' doesn't contain a valid alias configuration\r\n      using description file: /opt/build/repo/package.json (relative path: ./src  /components/Footer)\r\n        no extension\r\n          Field 'browser' doesn't contain a valid alias configuration\r\n          /opt/build/repo/src/components/Footer doesn't exist\r\n        .js\r\n          Field 'browser' doesn't contain a valid alias configuration\r\n          /opt/build/repo/src/components/Footer.js doesn't exist\r\n        .jsx\r\n          Field 'browser' doesn't contain a valid alias configuration\r\n          /opt/build/repo/src/components/Footer.jsx doesn't exist\r\n        as directory\r\n          /opt/build/repo/src/components/Footer doesn't exist\r\n  [/opt/build/repo/src/components/Footer]\r\n  [/opt/build/repo/src/components/Footer.js]\r\n  [/opt/build/repo/src/components/Footer.jsx]\r\n   @ ./src/components/Page/index.js 8:0-31 69:29-35\r\n   @ ./src/templates/post.js\r\n   @ ./.cache/async-requires.js\r\n   @ ./.cache/production-app.js\r\n\r\n\r\n  Error: ./src/templates/post.js\r\n  Module not found: Error: Can't resolve '../components/PostView' in '/opt/build  /repo/src/templates'\r\n  resolve '../components/PostView' in '/opt/build/repo/src/templates'\r\n    using description file: /opt/build/repo/package.json (relative path: ./src/t  emplates)\r\n      Field 'browser' doesn't contain a valid alias configuration\r\n      using description file: /opt/build/repo/package.json (relative path: ./src  /components/PostView)\r\n        no extension\r\n          Field 'browser' doesn't contain a valid alias configuration\r\n          /opt/build/repo/src/components/PostView doesn't exist\r\n        .js\r\n          Field 'browser' doesn't contain a valid alias configuration\r\n          /opt/build/repo/src/components/PostView.js doesn't exist\r\n        .jsx\r\n          Field 'browser' doesn't contain a valid alias configuration\r\n          /opt/build/repo/src/components/PostView.jsx doesn't exist\r\n        as directory\r\n          /opt/build/repo/src/components/PostView doesn't exist\r\n  [/opt/build/repo/src/components/PostView]\r\n  [/opt/build/repo/src/components/PostView.js]\r\n  [/opt/build/repo/src/components/PostView.jsx]\r\n   @ ./src/templates/post.js 5:0-46 16:26-34\r\n   @ ./.cache/async-requires.js\r\n   @ ./.cache/production-app.js\r\n```\r\n\r\n### Environment\r\n\r\n```sh\r\n\r\n  System:\r\n    OS: macOS High Sierra 10.13.6\r\n    CPU: x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz\r\n    Shell: 3.2.57 - /bin/bash\r\n  Binaries:\r\n    Node: 10.10.0 - ~/.nvm/versions/node/v10.10.0/bin/node\r\n    Yarn: 1.9.4 - /usr/local/bin/yarn\r\n    npm: 6.4.1 - ~/.nvm/versions/node/v10.10.0/bin/npm\r\n  Browsers:\r\n    Safari: 11.1.2\r\n  npmPackages:\r\n    gatsby: ^2.0.0-rc.25 => 2.0.0-rc.25 \r\n    gatsby-plugin-react-helmet: ^3.0.0-rc.1 => 3.0.0-rc.1 \r\n    gatsby-plugin-styled-components: ^3.0.0-rc.5 => 3.0.0-rc.5 \r\n    gatsby-source-filesystem: ^2.0.1-rc.6 => 2.0.1-rc.6 \r\n    gatsby-transformer-remark: ^2.1.1-rc.5 => 2.1.1-rc.5 \r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/421795109","html_url":"https://github.com/gatsbyjs/gatsby/issues/8205#issuecomment-421795109","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/8205","id":421795109,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTc5NTEwOQ==","user":{"login":"KyleAMathews","id":71047,"node_id":"MDQ6VXNlcjcxMDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/71047?v=4","gravatar_id":"","url":"https://api.github.com/users/KyleAMathews","html_url":"https://github.com/KyleAMathews","followers_url":"https://api.github.com/users/KyleAMathews/followers","following_url":"https://api.github.com/users/KyleAMathews/following{/other_user}","gists_url":"https://api.github.com/users/KyleAMathews/gists{/gist_id}","starred_url":"https://api.github.com/users/KyleAMathews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyleAMathews/subscriptions","organizations_url":"https://api.github.com/users/KyleAMathews/orgs","repos_url":"https://api.github.com/users/KyleAMathews/repos","events_url":"https://api.github.com/users/KyleAMathews/events{/privacy}","received_events_url":"https://api.github.com/users/KyleAMathews/received_events","type":"User","site_admin":false},"created_at":"2018-09-16T16:52:23Z","updated_at":"2018-09-16T16:52:23Z","author_association":"CONTRIBUTOR","body":"This is because you have a case difference in what you're requiring and the name of the file. This works in Macs and doesn't for Linux."}}
{"actor":{"display_login":"KyleAMathews"}}