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

一個npm install報了一堆問題 gyp verb check python checking for Python executable python in the PATHgyp verb which failed Error: not found: python gyp verb which failed at getNotFoundError E: souhu node module ...

2020-02-14 19:09 0 1891 推薦指數:

查看詳情

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