Answers for "NODE_ENV=production node ./src/server.js 'NODE_ENV' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1"

6

'NODE_ENV' is not recognized as an internal or external command

npm install -g win-node-env
This will solve problem
if not for windows use below commands
set NODE_ENV=something node filename.js
Posted by: Guest on September-29-2020

Code answers related to "NODE_ENV=production node ./src/server.js 'NODE_ENV' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1"

Code answers related to "Javascript"

Browse Popular Code Answers by Language