原文:vue node-sass安裝報錯node-sass@4.12.0 postinstall: `node scripts/build.js`

解決方案:npm install node sass save 重新裝下node sass即可 ...

2021-04-02 15:02 0 1041 推薦指數:

查看詳情

node-sass@4.13.1 postinstall: `node scripts/build.js`

記錄一下我出現這種問題的解決方法 在網上搜到的大多是 刪除node_modules 重新安裝 node-sass 在 npm install 或者是 設置 npm config set sass_binary_site=https://npm.taobao.org/mirrors ...

Fri Jan 14 05:32:00 CST 2022 0 1355
node-sass安裝失敗之npm ERR! Failed at the node-sass@4.12.0 postinstall script.

報錯如上圖: 問題:找不到python2,node-sass安裝失敗,node-sass安裝環境需要python,但是必須是2不能是3 的版本,如果已經安裝3了,需要卸載重新安裝,還要更改環境變量,配置成2的地址,安裝完畢后python -v看下版本和安裝成功沒。 如果安裝 ...

Thu Jul 18 01:44:00 CST 2019 0 1705
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM