場景復現

解決辦法
1.取消npm代理設置,執行命令
npm config set proxy null
npm config set https-proxy null
2.添加淘寶鏡像
npm --registry https://registry.npm.taobao.org info underscore
3.在.npmrc文件中添加代理:registry = https://registry.npm.taobao.org/


npm config set proxy null
npm config set https-proxy null
npm --registry https://registry.npm.taobao.org info underscore

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。