vue項目啓動報錯:Node Sass could not find a binding for your current environment: Windows 64-bit with Node.

cnpm start(或者cnpm run dev)時報錯:node

Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 8.xnpm

解決辦法:sass

cnpm rebuild node-sass
cnpm update

有些人運行了cnpm update後會報錯,這時候須要從新安裝cnpmui

cnpm install

執行完上面這條語句以後從新啓動項目便可spa

相關文章
相關標籤/搜索