Мне нужно запустить HOST = localhost npm run start: debug , чтобы запустить мой сервер. Эта команда отлично работает на моем Mac. В windows cmd и powershell выдают эти ошибки соответственно.
HOST=localhost : The term 'HOST=localhost' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
cmd:-
'HOST' is not recognized as an internal or external command,
operable program or batch file.
Package.json: -
"start:debug": "export NODE_PATH=`pwd`/src; node --harmony -r babel-register
--inspect bin/webpack-dev-server"