'node_modules' is not recognized as an internal or external command, code example
Example 1: '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
Example 2: 'babel-node' is not recognized as an internal or external command,
npm install --save-dev @babel/core @babel/node
Copied