Nodejs环境安装和 代理设置

Nodejs安装:

https://www.cnblogs.com/zhouyu2017/p/6485265.html

NodeJs教程:

https://www.runoob.com/nodejs/nodejs-http-server.html

为npm设在代理

npm config set proxy="http://192.168.1.1:8080";

npm config set https-proxy="http://192.168.1.1:8080"

为npm默认选择http方式,不选用https

npm config set registry http://registry.npmjs.org

相关推荐