npm安裝報錯解決方案

1.設置鏡像代理爲 http://registry.cnpmjs.orgnode 原來我用的淘寶鏡像(https://registry.npm.taobao.org)總是報錯npm 2.清空npm緩存 npm cache clean --force緩存 3.將項目下的node_modules刪除 4.從新install npm i代理
相關文章
相關標籤/搜索