'cross-env' is not recognized as an internal or external command
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: cross-env PORT=4100 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! C:\Users\avina\AppData\Roaming\npm-cache_logs\2018-01-13T17_57_52_129Z-debug.log
I am getting this error please help me resolving it.
Just npm install --save-dev cross-env in the root directory of your project.
This is issue fixed for me with running
yarn install
First you run.
npm install
Make sure you have installed cross-env
install cross-env
I first change the port number in my backend that is django to 4100, as there 4000 is mention in settings.py. Secondly, i install >npm install [email protected]
Just
npm install --save-dev cross-envin the root directory of your project.
Worked like a charm. Thank you :)
Just npm install -g cross-env on the local