-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to npm start #1
Comments
Probably you are in windows. These commands are written for Mac or Linux. You can try like below: try it and replay here... |
yes, I m windows user. |
Let me try |
Still same issue, Check bellow Please. [Screenshot Provided]
'nodemon' is not recognized as an internal or external command, npm ERR! A complete log of this run can be found in: |
put a space after && |
and install nodemon |
You can remove && |
if i "npm run production then it only run one time and instand stop", if i put && this before nodemon then i am not able to switch between two production and staging |
Where the problem. I followed your provided step.
$ npm start
'NODE_ENV' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:
NODE_ENV=staging nodemon index
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\MyUsername\AppData\Roaming\npm-cache_logs\2021-06-13T09_12_36_512Z-debug.log`
how can I solve it?
The text was updated successfully, but these errors were encountered: