npm安装cordova失败,设置淘宝源也报同样的错,求大神指点

2024-11-06 00:25:41
推荐回答(2个)
回答1:

C:\Users\eyes>npm info express
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "info" "express"
npm ERR! node v4.2.2
npm ERR! npm v2.14.7
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect

npm ERR! network connect ETIMEDOUT 222.180.220.28:443
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\eyes\npm-debug.log

不说了,心好累啊!!!!!

回答2:

你华为的吧,权限不够,地址没法访问,当然不能下载