Vue Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 12.x Found bindings for the following environments: - OS X 64-bit with Node.js 12.x

vue项目运行出错:

Error: Missing binding my-world/node_modules/node-sass/vendor/darwin-x64-72/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 12.x

Found bindings for the following environments:
  - OS X 64-bit with Node.js 12.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.

 

 

解决方式:
1. npm rebuild node-sass
2. npm run dev 

posted on 2020-07-23 15:10  写最骚的代码  阅读(1748)  评论(0编辑  收藏  举报