npm安装angular cli 报错 proxy

1、给nodejs设置代理

npm config set proxy http://3.87.248.6:88

npm config set https-proxy http://3.87.248.6:88

2、给git设置代理

git config --global http.proxy http://3.87.248.6:88

git config --global https.proxy http://3.87.248.6:88

3、ng command not found

  这些个问题都需要重新安装nodejs来解决,即使配置了环境变量也还是不能用

猜你喜欢

转载自www.cnblogs.com/javagatez/p/13184769.html