npm install 報錯 python相關

2021-10-23 08:06:14 字數 455 閱讀 3307

設定啟動python的安裝位置,電腦多個python時適用

npm config set python c:\users\administrator.windows-build-tools\python27\python.exe

node-sass

npm rebuild node-sass 重構一下

npm uninstall node-sass 儲存後 刪除之前安裝失敗的包(第一次安裝請跳過此步)

npm install node-sass 重新安裝

msbuild : error msb4132: 無法識別工具版本「2.0」。可用的工具版本為 「4.0」。

在報錯的專案內,重新執行 npm install --msvs_version 2015進行安裝專案依賴,即可完美解決問題了;

輸入 npm install 報錯

錯誤資訊如下 npm warn deprecated browserslist 2.11.3 browserslist 2 could fail on reading browserslist 3.0 config used in other tools.npm err unexpected end...

npm install 報錯解決方法

我相信很多人在執行npm install的時候都遇到各種各樣的問題,比如以下錯誤 error cb never called error this is an error with npm itself.please report this error at error 解決方法如下 一 首先要以管...

npm install 安裝報錯解決辦法

解決 安裝 chromedriver 即可 npm install chromedriver chromedriver cdnurl 刪除npmrc檔案 注意 不是nodejs安裝目錄npm模組下的那個npmrc檔案,而是在c users 下的.npmrc檔案 直接用命令清理 控制台輸入 npm c...