Comments (17)
I'm pretty sure the problem is that you have webpack installed in /Users/home/node_modules
. I'm guessing that's by error, and you should probably remove the /Users/home/node_modules
directory.
I'm going to close this issue, but feel free to comment if you have further questions.
from advanced-react-patterns-v2.
You can try this also it's worked for me
go to your package.json
replace "react-scripts": "whatever ver u got" to "react-scripts": "1.1.4",
then run npm install, after that npm start
from advanced-react-patterns-v2.
I have the same issue:
▶ npm ls webpack
[email protected] /Users/yeven/projects/foo
├─┬ @storybook/[email protected]
│ ├─┬ @storybook/[email protected]
│ │ └── [email protected] deduped
│ └── [email protected]
└─┬ [email protected]
└── [email protected]
Unsure how to solve it
from advanced-react-patterns-v2.
For me, delete the node_modules didn't work. So I had to put "SKIP_PREFLIGHT_CHECK=true" in the '.env'.
from advanced-react-patterns-v2.
I first globally uninstalled webpack (npm uninstall -g webpack) and then globally reinstalled webpack 4.29.6 (npm install -g [email protected]). Next I deleted any node module which started with the word webpack in the directory C:\Users\MyUserName\node_modules folder but left all other packages untouched. This corrected to issue. I still have webpack installed in my AppData folder and in the programs folder. Using Windows 10, node 10.16.0, npm 6.9.0. Just a slight tweek on the answer given above. I spent three days on this issue so I hope it helps!
from advanced-react-patterns-v2.
I should probably add that this is actually a react-scripts bug. You might consider reporting it there: https://github.com/facebook/create-react-app/issues/new
Good luck!
from advanced-react-patterns-v2.
Thanks! I deleted the node_modules dir as you said and it worked perfectly.
from advanced-react-patterns-v2.
Thanks, I deleted the node_modoles after success!
from advanced-react-patterns-v2.
I had the same issue as yairEO where I was using several linked react-app libraries. I was able to resolve it by deleting all my project node_modules (and the symlink directories in my %AppData%\npm\node_modules).
from advanced-react-patterns-v2.
i have executed all the steps but none worked for me
from advanced-react-patterns-v2.
unnatikala05.... react is very moody. Doesn't seem to matter whether you're install on Mac, Windows or whatever. I've found you usually have some configuration tweaking to do after you first install it. Also, Facebook is constantly providing updates for newer versions of react. When you run npm create-react-app or npm init react-app you are installing dependencies from online repositories. If an update was placed there which incompatible with your installed libraries you'll need update your version npm. If your using windows that will likely mean literally removing and reinstalling the new version of NodJS from their website. Debugging can be frustrating at best. If you can provide more information about what errors you're receiving, and what code your running, I can try to help. Is it the same code in this repository? Or from another?
from advanced-react-patterns-v2.
Thank you! Worked for me too.
from advanced-react-patterns-v2.
You can try this also it's worked for me
delete node-modules
delete package-lock.json
go to your package.json
replace "react-scripts": "whatever ver u got" to "react-scripts": "1.1.4",
then run npm install, after that npm start
Thank you!I have been working on this for 2 days finally I got it
from advanced-react-patterns-v2.
Hello!!!
Last one is worked for me too:
delete node-modules
delete package-lock.json
go to your package.json
replace "react-scripts": "whatever u got" to "react-scripts": "1.1.4",
then run npm install, after that npm start
Thanks for a tip.
from advanced-react-patterns-v2.
Worked for me too! Was preventing from starting Wes Bos's React For Beginner's course for over a day now... Thanks! ModybinYunus!
delete node-modules
delete package-lock.json
go to your package.json
replace "react-scripts": "whatever u got" to "react-scripts": "1.1.4",
then run npm install, after that npm start
from advanced-react-patterns-v2.
You can try this also it's worked for me
delete node-modules
delete package-lock.json
go to your package.json
replace "react-scripts": "whatever ver u got" to "react-scripts": "1.1.4",
then run npm install, after that npm startThank you!I have been working on this for 2 days finally I got it
thanks it worked
from advanced-react-patterns-v2.
You can try this also it's worked for me
delete node-modules
delete package-lock.json
go to your package.json
replace "react-scripts": "whatever ver u got" to "react-scripts": "1.1.4",
then run npm install, after that npm startThank you!I have been working on this for 2 days finally I got it
thanks it worked
Thanks, I was stuck for the last 3 hours. :)
from advanced-react-patterns-v2.
Related Issues (20)
- autofill-feedback-email script doesn't update files on windows machines HOT 1
- Running app locally breaks after page refresh HOT 4
- Running tests is stuck HOT 1
- Test 07 doesn't test for defaultProps HOT 1
- Component with React.createContext() used in older version of react HOT 1
- Why doesn't changing the parent state update both Toggle's? HOT 1
- Add extra credit for exercise 02 HOT 1
- No solution to extra credit #2 HOT 2
- Consumers still re-rendering after passing this.state to provider HOT 1
- Control Props with state reducer HOT 2
- HOC Exercise fails even though my code matches the video HOT 3
- Unnecessary Toggle Function in exercise 05? HOT 1
- npm start doesn't works HOT 5
- ErrorCatcher doesn't work on Exercise 6 (Prop Getters) HOT 1
- Unmodified CodeSandbox failing all tests HOT 3
- npm setup failed to compile HOT 8
- There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you need to fix locally. HOT 2
- Error: Cannot find module 'node-bin-darwin-arm64/package.json'
- codesandbox link is not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advanced-react-patterns-v2.