react-redux-realworld-example-app icon indicating copy to clipboard operation
react-redux-realworld-example-app copied to clipboard

'cross-env' is not recognized as an internal or external command

Open Avinash0203 opened this issue 8 years ago • 5 comments

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.

Avinash0203 avatar Jan 13 '18 17:01 Avinash0203

Just npm install --save-dev cross-env in the root directory of your project.

radzak avatar Mar 03 '18 20:03 radzak

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

gmkhussain avatar Sep 11 '18 11:09 gmkhussain

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]

anmoldhingra1 avatar Jul 20 '19 06:07 anmoldhingra1

Just npm install --save-dev cross-env in the root directory of your project.

Worked like a charm. Thank you :)

freakweb89 avatar Apr 02 '20 19:04 freakweb89

Just npm install -g cross-env on the local

JZ-314 avatar Dec 28 '20 18:12 JZ-314