-
Notifications
You must be signed in to change notification settings - Fork 691
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
"Module not found: Error: Cannot resolve module" for react-router and react #30
Comments
I'm getting the same. Running on OSX. Here's my version info: npm version And here's the output of running npm start:
http://localhost:8080/webpack-dev-server/ ERROR in ./modules/main.js ERROR in ./modules/main.js ERROR in ./modules/Home.js ERROR in ./modules/App.js ERROR in ./modules/App.js ERROR in ./modules/About.js |
I see that the package.json points to the git master for both react and react-router. Have you tried with the latest stable versions? |
@tcoopman Good call! I uninstalled react, router-router, and react-tools and then reinstalled them to remove the hard reference to master. It now runs without error. So looks like the simple fix is to remove the hard reference to master in package.json. |
create a PR #32 |
./src/Component/Form.js i am getting this issue........i have deleted that json-lock file then fire npm install command then npm start still i m getting same issue |
this question is already asked by no. of people but still there is no answer |
please tell how to fix modules missing error |
Hi,
Hopefully this is not a total noob question, but;
When I run 'webpack' I keep getting a "Module not found: Error: Cannot resolve module" for 'react-router' and 'react'.
Just for clarity I'm running 'npm install' in the example directory and then running 'webpack' in the same directory.
Would appreciate it if someone could help me out :)
Thanks in advance,
Jean
The text was updated successfully, but these errors were encountered: