blucesun 解决npm报错 程序员挖掘机 2020-05-22 160 阅读1分钟 解决npm报错:Module build failed: TypeError: this.getResolve is not a function 1、sass-loader的版本过高导致的编译错误,当前最高版本是8.x,需要退回到7.3.1 运行: npm uninstall sass-loader(卸载当前版本) npm install sass-loader@7.3.1 --save-dev