npm install 安裝依賴報錯解決

1.先清除緩存node npm cache clean --force 2.刪除項目中的node_modules文件夾npm 3.安裝淘寶鏡像cnpm,用cnpm來安裝依賴緩存 npm install -g cnpm --registry=https://registry.npm.taobao.org 4.最後再執行code cnpm install
相關文章
相關標籤/搜索