小小园丁

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来解决,即使配置了环境变量也还是不能用

posted on 2020-06-23 21:44  小小园丁  阅读(414)  评论(0编辑  收藏  举报

导航