I have a project who I didn\'t touch for 2 weeks. I take it back and now when I try to run npm start I got this error.
> react-scripts start
It occurred to me but none of the above worked.
events.js:72
throw er; // Unhandled 'error' event
^
npm ERR! UpScore@0.6.0 start: `react-scripts start`
npm ERR! spawn ENOENT
Error: spawn ENOENT
at errnoException (child_process.js:1000:11)
at Process.ChildProcess._handle.onexit (child_process.js:791:34)
This happens because you might have installed react-scripts globally.
To make this work...
C:\Users\\AppData\Roaming node_modules foldernpm install to install the dependencies (delete package-lock.json if its already created)npm install --save react react-dom react-scriptsnpm start This should get you back on track... Happy Coding