'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
'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
'npm' is not recognized as an internal or external command, operable program or batch file.
Open the Control Panel (Click the Start button, then click Control Panel)
Click User Accounts
Click Change my environment variables
Select PATH and click the Edit... button
At the end of the Variable value, add ;C:\Program Files\nodejs
Click Ok on the "Edit User Variable" window, then click Ok on the "Environment Variables" window
Start a command prompt window (Start button, then type cmd into the search and hit enter)
At the prompt (C:\>) type npm and hit enter; you should now see some help text (Usage: npm <command> etc.) rather than "npm is not recognized..."
Now you can start using npm!
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us