Module build failed: TypeError: this.getResolve is not a function 错误的解决方法
错误
Module build failed: TypeError: this.getResolve is not a function at Object.loader (E:\appEx\PreResearch\orchestrator\topology\node_modules\sass-loader\dist\index.js:52:26)
错误原因:sass版本太高导致的编译错误
解决方法
-
卸载当前版本
npm uninstall sass-loader
2. 安装低版本
npm install sass-loader@7.3.1 --save-dev