vue项目启动报错:Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 8.x

cnpm start(或者cnpm run dev)时报错:

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

解决办法:

cnpm rebuild node-sass
cnpm update

有些人运行了cnpm update后会报错,这时候需要重新安装cnpm

cnpm install

执行完上面这条语句之后重新启动项目即可

猜你喜欢

转载自www.cnblogs.com/shira-t/p/9283765.html