尝试在Windows上安装express时遇到的错误

时间:2017-05-28 09:53:07

标签: node.js windows express

当我发出命令npm install express时,它会抛出以下错误(在使用cmd的windows32bit上)

C:\Aditya\Study and Work Stuff\nodeprojects\contactlistapp>npm install express
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "express"
npm ERR! node v6.10.3
npm ERR! npm  v3.10.10
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall getaddrinfo

npm ERR! enoent getaddrinfo ENOENT registry.npmjs.org:443
npm ERR! enoent getaddrinfo ENOENT registry.npmjs.org:443
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Aditya\Study and Work Stuff\nodeprojects\contactlistapp\npm-debug.log

C:\Aditya\Study and Work Stuff\nodeprojects\contactlistapp>

0 个答案:

没有答案
相关问题