-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Failed to compile after install #4
Comments
Hi @cesoftinfo . Can you verify if you have downloaded the whole project and if you have the |
Have the same issue. I'm running on MacOS X Sierra and npm 5.4.2 with node 8.2.1. Changed the path for App to be relative, then variables from the App.jsx throw, adding For a temporary fix, I've gone to
Started just fine after that. Hope this helps. |
@Arqu thank you for the temp fix. |
@Arqu @yingkeen I would recommend against such edits inside node_modules since they are local and they will be overridden (deleted) once you install the project on another pc (a teammate wants to setup the project for example) or for some reason you delete node_modules or you want to update some packages which update react-scripts. I would rather try one of the following things
The second option would require cross-env to be installed globally |
Agree completely, thats why this was a temporary workaround just to get it going. Thanks for showing the proper way do it still getting a grasp of react. |
@cristijora Thank you so much. I tried with .env and it worked. |
Installing cross-env and changing react-scripts start to cross-env NODE_PATH=./src react-scripts start inside package.json workerd for me.Thanks. |
Had this same problem too when using the .zip bundle download. I deleted the files from the .zip release, then cloned the project from GitHub and everything seems to work. It looks like the .env file is not included in the .zip bundle, but is included in the repo. |
i also have same problem and i try all solution but it did'nt work |
Hello there, @faisy26 , Your error says
Best, |
Can't start app?
./src/index.js
Module not found: Can't resolve 'containers/App/App.jsx'
The text was updated successfully, but these errors were encountered: