Missing binding D:\✖✖✖✖✖✖✖✖✖\node_modules\node-sass\vendor\win32-x64-72\binding.node - vue.js - 方帮信
分享
当前位置: 首页 >  > 技术 > 软件开发 > js > vue.js

Missing binding D:\✖✖✖✖✖✖✖✖✖\node_modules\node-sass\vendor\win32-x64-72\binding.node

2019/12/9 18:50:35 浏览

Module build failed: Error: Missing binding D:\✖✖✖✖✖✖✖✖✖\node_modules\node-sass\vendor\win32-x64-72\binding.nodeNode Sass could not find a binding for your current environment: Windows 64-bit with Node.js 12.xFound bindings for the following …

Module build failed: Error: Missing binding D:\✖✖✖✖✖✖✖✖✖\node_modules\node-sass\vendor\win32-x64-72\binding.nodeNode Sass could not find a binding for your current environment: Windows 64-bit with Node.js 12.x

Found bindings for the following environments:

  • Windows 64-bit with Node.js 8.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 (D:\✖✖✖✖✖✖✖✖✖\node_modules\node-sass\lib\binding.js:15:13)    at Object.<anonymous> (D:\✖✖✖✖✖✖✖✖✖\node_modules\node-sass\lib\index.js:14:35)    at Module.compile (internal/modules/cjs/loader.js:956:30)    at Object.Module.extensions..js (internal/modules/cjs/loader.js:973:10)    at Module.load (internal/modules/cjs/loader.js:812:32)    at Function.Module._load (internal/modules/cjs/loader.js:724:14)    at Module.require (internal/modules/cjs/loader.js:849:19)    at require (internal/modules/cjs/helpers.js:74:18)    at Object.sassLoader (D:\✖✖✖✖✖✖✖✖✖\node_modules\sass-loader\lib\loader.js:46:72)


按照提示执行如下命令:


npm rebuild node-sass

来源:方帮信(微信:changyandoublog,邮箱:changyandou@126.com),欢迎分享!