设为首页 - 加入收藏 PHP编程网 - 黄冈站长网 (http://www.0713zz.com)-创业,推广,IT,移动互联,VR,5G,小程序,站长网!
热搜: vivo 网站 什么 1
当前位置: 首页 > 服务器 > 系统 > 正文

vue 工程从window 到mac

发布时间:2021-02-27 08:17 所属栏目:[系统] 来源:网络整理
导读: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/sa

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
  • 这里只是做个记录

【免责声明】本站内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

网友评论
推荐文章