Open Avinash0203 opened 6 years ago
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 react-scripts@0.9.5
Just
npm install --save-dev cross-env
in the root directory of your project.
Worked like a charm. Thank you :)
Just npm install -g cross-env on the local
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! react-redux-realworld-example-app@0.1.0 start:
cross-env PORT=4100 react-scripts start
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the react-redux-realworld-example-app@0.1.0 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.