• vue 工程从window 到mac


    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
    • 这里只是做个记录
  • 相关阅读:
    ArrayList的几种初始化方法
    Java中date和calendar的用法
    Android中XML的命名空间、自定义属性
    Android中shape属性详解
    五分钟学GIS | 快速生成地图瓦片秘籍
    adb 提示adb server version(31) doesn't match this client(40) 解决办法
    mysql @value := 用法
    Mysql中(@i:=@i+1)的作用
    $.ajax()方法详解
    最少代码实现购物车所有功能
  • 原文地址:https://www.cnblogs.com/thymeleaf/p/11394244.html
Copyright © 2020-2023  润新知