解决npm报错:Module build failed: TypeError: this.getResolve is not a function

1, a compilation error sass-loader version is too high due to the current highest version 8.x, we need to return to 7.3.1

  run:

    Uninstall Sass-Loader --save npm-dev (uninstall your current version)

    npm install sass-loader @7.3.1 --save-dev

2. If the above method does not work, or they have other related errors, you can try adding webpack.base.config.js inside:

 

 

Comments welcome message or explore the area had more questions.

Guess you like

Origin www.cnblogs.com/blucesun/p/11463426.html