原文:node-sass安裝失敗之npm ERR! Failed at the node-sass@4.12.0 postinstall script.

, 報錯如上圖: 問題:找不到python ,node sass安裝失敗,node sass安裝環境需要python,但是必須是 不能是 的版本,如果已經安裝 了,需要卸載重新安裝,還要更改環境變量,配置成 的地址,安裝完畢后python v看下版本和安裝成功沒。 如果安裝node sass但是失敗了的,先執行 npm uninstall node sass 最好還是用cnpm淘寶鏡像, 然后 把 ...

2019-07-17 17:44 0 1705 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM