> Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js?
出現(xiàn)這個原因是因為 Node 版本與node-sass版本不匹配導(dǎo)致,由于node版本的升級,原來項目中的node-sass版本過低。
可以 win + R? 輸入cmd 回車
?查看當前node版本
查看項目中Node-sass的版本
查看node與node-sass版本對應(yīng)關(guān)系
node對應(yīng)版本查看https://www.npmjs.com/package/node-sass
?可見,當前node-sass版本為4.0.0,版本過低。
node指定版本下載地址https://nodejs.org/dist/
解決方案:
npm rebuild node-sass
?執(zhí)行完之后再執(zhí)行
npm update文章來源:http://www.zghlxwxcb.cn/news/detail-606676.html
重啟項目即可解決文章來源地址http://www.zghlxwxcb.cn/news/detail-606676.html
到了這里,關(guān)于Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!