解決stack FetchError: request to https://registry.npm.taobao.org/@vue%2fcli-plugin-vuex failed, reason: connect ECONNREFUSED


場景復現

image

解決辦法

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/

image

原鏈接


免責聲明!

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



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM