While developing react apps it’s common to face react-scripts is not recognized as an internal or external command react error. The full error is as given below:
‘react-scripts’ is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! login-app@0.1.0 start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the login-app@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Solution :-
You can solve this reactJS error easily by running below commands :-
- npm install at the project folder.
- restart the project using npm start command.
No comments:
Post a Comment