报错解决:Found bindings for the following environments
运行以前写的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-sass npm update npm run dev