简体   繁体   中英

node-dev not recognized as an internal or external command

I am using Windows 8 pro 64-bit PC, @2012 and My node version is v6.9.4 npm and node this command work very well, but node-dev command doesn't work and is not recognize as an internal or external command.

I set the user variable path to:

c:/Python36;C:\\Program Files\\Java\\jdk1.8.0_121\\bin;C:\\Users\\Kousher Alam Pranto\\AppData\\Roaming\\Composer\\vendor\\bin;C:\\Program Files\\nodejs;

and system variable path into:

C:\\ProgramData\\Oracle\\Java\\javapath;%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x86;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x64;C:\\Program Files\\Git\\cmd;C:\\Program Files\\nodejs\\;C:\\xampp\\php;C:\\ProgramData\\ComposerSetup\\bin;C:\\Program Files\\nodejs;

but it still doesn't work, what should I do to solve this?

You should first install node-dev from npm repository using below command

$ sudo npm install -g nodev

Once done you should be able to run the command from terminal. For detail look at node-dev library .

在讨论问题中,没有运行 npm 命令,所有命令都给我“无法识别错误”,我只是将 npm 路径添加到系统路径变量中,它就可以完成工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM