-
Notifications
You must be signed in to change notification settings - Fork 653
Deploy - remote: Module not found: Error: Can't resolve #71
Comments
That's a good place to start. You can specify version in Are you working locally on Windows by chance? |
Related webpack issue thread: webpack/webpack#981 |
UGH!!!! Feel like a major idiot. It was a case change in the path. Github doesn't update case changes!!! Thanks for the help. |
Letter casing: upper versus lower case filenames. For example: If a module is included with To fix, move it in the repo to the expected casing: git mv views/pages/profile.js views/pages/Profile.js
git commit . -m "fix module filename casing" …or change the module's import statement to match the filename's case:
|
Have scoured the issues of create-react-app, react-app-rewired, and here. Nothing absolutely nothing works and the only place it does NOT build is on heroku. Locally - fine. I can get it to build correctly if I remove the files in question. However, there seems to be no explanation. I have tried renaming the files, checked the case of the file names, checked the encoding, checked thee import / export, everything is just like other files. The only way it will build on heroku is if I take the files out.
I'm using node 7.7.3 and npm 4.1.2, and yarn 1.0.2 on my development machine. Can this be that the build pack is using node 6.11.3 and npm 3.10.10?
The text was updated successfully, but these errors were encountered: