I am learning react and have gotten the following error.
npm ERR! errno 1
npm ERR! [email protected] start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!```
CodePudding user response:
Delete your package-lock.json file and node_modules folder. Then do npm cache clean.
npm cache clean --force
npm install
And run again.
CodePudding user response:
You should try to delete your file package-lock.json
and folder node_modules
and then clear the npm cache by doing :
npm cache clean --force
Then :
npm install
npm start