如何设置npm包管理工具的下载代理?
I solved this problem this way:
- I run this command:
npm config set strict-ssl false - Then set npm to run with http, instead of https:
npm config set registry "http://registry.npmjs.org/" - Then I install packages using this syntax:
npm --proxy http://username:password@cacheaddress.com.br:80 install packagename
转载于:https://www.cnblogs.com/vyvi/archive/2013/03/13/2958522.html