npm安装cordova失败,设置淘宝源也报同样的错,求大神指点
报错代码:////////////////////////////////////////////////////////////////////////////////...
报错代码:
///////////////////////////////////////////////////////////////////////////////////////
runTopLevelLifecycles
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\\Tools\\nodejs\\node.exe" "D:\\Tools\\nodejs\\node_modules\\np
m\\bin\\npm-cli.js" "install" "-g" "cordova"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! unable to verify the first certificate
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\pvczhouhanwen\npm-debug.log
///////////////////////////////////////////////////////////////////////////////////////
设置npm config set strict-ssl false后报错更离谱。
网上能查到的方法都试了,就是没用哎。。。。 展开
///////////////////////////////////////////////////////////////////////////////////////
runTopLevelLifecycles
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\\Tools\\nodejs\\node.exe" "D:\\Tools\\nodejs\\node_modules\\np
m\\bin\\npm-cli.js" "install" "-g" "cordova"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! unable to verify the first certificate
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\pvczhouhanwen\npm-debug.log
///////////////////////////////////////////////////////////////////////////////////////
设置npm config set strict-ssl false后报错更离谱。
网上能查到的方法都试了,就是没用哎。。。。 展开
2个回答
展开全部
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
不说了,心好累啊!!!!!
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
不说了,心好累啊!!!!!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
微测检测5.10
2023-05-10 广告
2023-05-10 广告
您好!建议咨 深圳市微测检测有限公司,已建立起十余个专业实验室,企业通过微测检测就可以获得一站式的测试与认 证解决方案;(EMC、RF、MFi、BQB、QI、USB、安全、锂电池、快充、汽车电子EMC、汽车手机互 联、语音通话质量),认证遇...
点击进入详情页
本回答由微测检测5.10提供
2015-11-13
展开全部
你华为的吧,权限不够,地址没法访问,当然不能下载
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询