ERROR in ./src/assets/css/theme-default.scss (./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js??ref--10-3!./src/assets/css/theme-default.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding /Users/gavin/Desktop/enn/venue/node_modules/node-sass/vendor/darwin-x64-64/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 10.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 9.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.
at module.exports (/Users/gavin/Desktop/enn/venue/node_modules/node-sass/lib/binding.js:15:13)
at Object.<anonymous> (/Users/gavin/Desktop/enn/venue/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.sassLoader (/Users/gavin/Desktop/enn/venue/node_modules/sass-loader/lib/loader.js:46:72)
@ ./src/assets/css/theme-default.scss 4:14-198 14:3-18:5 15:22-206
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js
ERROR in ./src/page/example/map/index.vue?vue&type=style&index=0&id=3e051e93&lang=scss&scoped=true& (./node_modules/css-loader!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js??ref--10-3!./node_modules/vue-loader/lib??vue-loader-options!./src/page/example/map/index.vue?vue&type=style&index=0&id=3e051e93&lang=scss&scoped=true&)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding /Users/gavin/Desktop/enn/venue/node_modules/node-sass/vendor/darwin-x64-64/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 10.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 9.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
- 这里只是做个记录