这是因为当前版本与4.0.0不兼容
卸载当前版本sass: npm uninstall node-sass
安装指定版本sass: npm install node-sass@4.14.1
参考这里 https://www.cnblogs.com/lisir-blogshare/p/15439088.html
- incompatible version Node Sass withincompatible version node sass quot incompatible expected version incompatible错误version笔记 error incompatible version syntax version incompatible compiled expected version tomcat incompatible springboot node-sass node-sass node sass node sass sass-loader node-sass sass node postinstall node-sass