1.其实看日志是有sass模块引起的,因此重新安装这个模块就行。
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
亲测有效
引用:
链接:https://www.jianshu.com/p/f5fd31d70790