美文网首页
node升级后,vue启动报错

node升级后,vue启动报错

作者: 张晓畅 | 来源:发表于2019-04-28 14:02 被阅读0次

上来就干货!

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启动报错

      本文链接:https://www.haomeiwen.com/subject/yypdnqtx.html