问题一般情况是因为代理问题,npm代理和git代理都要设置。首先确认网络是否需要设置代理。
去掉npm代理
npm config delete proxy
npm config delete https-proxy
去掉git 代理
git config --global --unset http.proxy
git config --global --unset https.proxy
问题一般情况是因为代理问题,npm代理和git代理都要设置。首先确认网络是否需要设置代理。
去掉npm代理
npm config delete proxy
npm config delete https-proxy
去掉git 代理
git config --global --unset http.proxy
git config --global --unset https.proxy