【发布时间】:2015-11-05 04:51:11
【问题描述】:
我需要为我的应用程序安装 Express Framework。
这是我得到的错误。我尝试将我的计算机的 Environment varaibales 设置为 http 和 https 的 http://username:password@proxy:port。
另外,我也试过
之类的代码npm config set proxy http://username:password@proxy:port -g
npm config set https-proxy http://username:password@proxy:port -g
npm config set strict-ssl false.
即使这样我也收到以下错误。
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
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:
任何有关安装 Express Framework 的帮助将不胜感激。
【问题讨论】:
-
这里似乎已经回答了这个问题:stackoverflow.com/questions/20082893/…