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

2017-12-22  本文已影响0人  Jackie吉吉

报错内容

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

亲测有效

上一篇下一篇

猜你喜欢

热点阅读