'ts-node' is not recognized as an internal or external command, operable program or batch file. Note: This command was run via npm module 'win-node-env' code example
Example: '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