当前位置: 代码迷 >> 综合 >> 报错解决:Found bindings for the following environments
  详细解决方案

报错解决:Found bindings for the following environments

热度:80   发布时间:2024-01-13 19:52:55.0

运行以前写的vue项目的时候遇到如下报错 记录一下

应该是版本升级不兼容造成的

错误:

Module build failed: ModuleBuildError: Module build failed: Error: Missing binding E:\SVN\32IDPW\04-project\03-source\02-web\briefing\node_modules\node-sass\vendor\win32-x64-64\binding.node

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

Found bindings for the following environments:

- Windows 64-bit with Node.js 8.x

解决方法:

npm rebuild node-sassnpm updatenpm run dev

 

  相关解决方案