美文网首页
vue项目安装sass报错解决方法

vue项目安装sass报错解决方法

作者: Jackie吉吉 | 来源:发表于2017-12-22 09:34 被阅读0次

报错内容

Module build failed: Error: Missing binding /Users/jac/Downloads/country/node_modules/node-sass/vendor/darwin-x64-

59/binding.node

Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 9.x

Found bindings for the following environments:

- OS X 64-bit with Node.js 6.x

因为sass对node 8x+版本不兼容

解决方法

npm i node-sass -D

亲测有效

相关文章

网友评论

      本文标题:vue项目安装sass报错解决方法

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