整理這些技術筆記真的很花時間,如果你願意 關閉 Adblock 支持我,我會把這份感謝轉換成更多「踩坑轉避坑」的內容給你!ヽ(・∀・)ノ
Advertisement
2019-12-23
Vue
Vue 專案出現 Node Sass could not find a binding for your current environment
前言
最近在弄 Vue Cli 2 專案的時候突然發生一個錯誤,Node Sass could not find a binding for your current environment,所以這一篇記錄一下該如何解決。
問題
由於該專案是 Vue Cli 2,所以當我執行 npm start 時卻出現以下錯誤
1 | |
解決方法
解決方法其實很簡單 ,只需要在該專案下執行 npm rebuild node-sass 就可以了,至於問題點是 node-sass 版本安裝上的錯誤導致。
參考文獻
Node Sass couldn’t find a binding for your current environment
整理這些技術筆記真的很花時間,如果你願意 關閉 Adblock 支持我,我會把這份感謝轉換成更多「踩坑轉避坑」的內容給你!ヽ(・∀・)ノ
Advertisement
我想要說...
ray — -zsh — 80x24
➜
~
mkdir israynotarray
➜
~
cd israynotarray
➜
israynotarray
git:(main)
pnpm run start