I am new to React, please help me to solve this error, this screen shows when I try to run the command npm start after react the react project.
Asked
Active
Viewed 1,954 times
0
-
you can follow the threads here https://github.com/facebook/create-react-app/issues/5980 and https://stackoverflow.com/questions/42308879/npm-err-code-elifecycle – blueseal Oct 30 '19 at 07:33
-
Possible duplicate of [Error when I try run a React App with npm start command](https://stackoverflow.com/questions/57451701/error-when-i-try-run-a-react-app-with-npm-start-command) – thelonglqd Oct 30 '19 at 10:08
4 Answers
0
This issue is not because of Reactjs it's because your system doesn't know the path to your system32. Please follow the below instruction to fix this
Goto > Control Panel\System and Security\System\Advance system setting\Enviroment variable and set system variables path C:\Windows\System32\ variable and restart your System.
One more options is to downgrade your react-scripts in the packge.json to 2.1.8=> keep this as your last option.
Happy Coding.

ajaykumar mp
- 487
- 5
- 12
0
Goto > Control Panel\System and Security\System\Advance system setting\Enviroment variable and set system variables path C:\Windows\System32\ variable and restart your System.
I hope this will help you.

Saud Anjum
- 208
- 2
- 12
-1
Please try the following steps:
npm cache clean --force
delete node_modules
folder and delete package-lock.json
file
npm install

leiflundberg
- 334
- 2
- 13