npm install 失敗,報錯401 Authorization Required ...

解決方案:git

npm config set strict-ssl false
cnpm config set strict-ssl false

切換淘寶源,使用 cnpm (gzip 壓縮支持) 命令行工具代替默認的 npmgithub

npm install -g cnpm --registry=https://registry.npm.taobao.org
相關文章
相關標籤/搜索