wangxudongx 2020-02-13 10:12 采纳率: 0%
浏览 2280

Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 11.x

 error  in ./src/components/ChartCard.vue?vue&type=style&index=0&id=d2662de4&lang=scss&scoped=true&

Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Missing binding C:\Users\xzit1\Desktop\temp-springboot\frontinterface\ant-design-vue-jeecg\node_modules\node-sass\vendor\win32-x64-67\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 11.x

Found bindings for the following environments:
  - Windows 64-bit with Node.js 11.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 (C:\Users\xzit1\Desktop\temp-springboot\frontinterface\ant-design-vue-jeecg\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (C:\Users\xzit1\Desktop\temp-springboot\frontinterface\ant-design-vue-jeecg\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:723:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)

  • 写回答

3条回答 默认 最新

  • weixin_44260373 2020-05-15 17:18
    关注

    如果运行npm rebuild node-sass可以的话,谁还问呢

    评论

报告相同问题?