报错 “Node Sass could not find a binding for your current environment”

30 阅读1分钟

image.png

npm run start启动项目报错 “Node 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 12.x”

遇到 Node Sass 编译错误,提示找不到当前环境的绑定。运行环境发生变化,需要重新下载node-sass 依赖。


解决方法: 运行命令 npm rebuild node-sass, 为当前环境绑定 node-sass.

重新执行npm run start.