New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v2] Build breaking on Netlify #8205
Comments
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. |
I was also riding in circles around this same issue. This solved it for me:
I've never had issue with case-senstive file name changes. |
I had the same problem, I fixed by manually changing the imports. Before: Credits to talves on StackOverFlow |
Just ran into the same mistake. Shouldn't this be something that produces an error in development? |
so that it will work on netlify. gatsbyjs/gatsby#8205
by adding case sensitivity config to git gatsbyjs/gatsby#8205
Used ```git config core.ignorecase false``` Ref: gatsbyjs/gatsby#8205
Just wanted to note- had the same error- remember to to a full rebuild after applying git config core.ignorecase false that @pedrouid so wonderfully recommended. This usually means "clear cache and rebuild" for Gatsby Cloud and Netlify. Might seem obvious but thought I would mention it anyway :) |
Changed manually because file name case sensitivity issue, see here: gatsbyjs/gatsby#8205
Changed manually because file name case sensitivity issue, see here: gatsbyjs/gatsby#8205
This saved my life. Thanks! |
- Apparently macOS isn't case sensitive, but Linux is - See gatsbyjs/gatsby#8205
- Apparently macOS isn't case sensitive, but Linux is - See gatsbyjs/gatsby#8205
- Apparently macOS isn't case sensitive, but Linux is - See gatsbyjs/gatsby#8205
You are a legend... thanks a lot |
Description
Build works locally, but fails on Netlify.
Steps to reproduce
Project is here: https://github.com/merelinguist/playhouse-press/pull/225
Expected result
I would expect it to build normally.
Actual result
Build works fine locally, but breaks on Netlify:
Environment
The text was updated successfully, but these errors were encountered: