欢迎使用Markdown编辑器
webpack构建失败,报错:
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 10.x
Found bindings for the following environments:
- Linux 64-bit with Node.js 12.x
原因:node sass的安装是和nodejs版本绑定的,修改nodejs版本之后node sass也不可用了
处理:删除node sass依赖,重新安装即可