node升级后,vue启动报错

上来就干货!

node5.6升级到10,重新启动vue报错误

仔细看大概就是:

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

Found bindings for the following environments:

  - Windows 64-bit with Node.js 8.x

This usually happens because your environment has changed since running `npm install`.

后面也有告诉怎么解决:Run `npm rebuild node-sass` to download the binding for your current environment.

所以复制命令:npm rebuild node-sass  回车,等待,重新启动就可以了


你可能感兴趣的:(node升级后,vue启动报错)