眾所周知,npm官方鏡像 https://registry.npmjs.org 極為卡頓,所以考慮換國內鏡像。
網上很多人都說用淘寶鏡像,但是淘寶鏡像由於同步過於頻繁導致卡頓。
可以使用華為鏡像:
npm config set registry https://mirrors.huaweicloud.com/repository/npm/
眾所周知,npm官方鏡像 https://registry.npmjs.org 極為卡頓,所以考慮換國內鏡像。
網上很多人都說用淘寶鏡像,但是淘寶鏡像由於同步過於頻繁導致卡頓。
可以使用華為鏡像:
npm config set registry https://mirrors.huaweicloud.com/repository/npm/
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。