1. An error message is reported when the Loader is configured. Loadercontext. getResolve is not a function



The less-loader and Less versions are incompatible with the current WebPack version

Solution: Reduce the version of less and less-loader in package.json and re-npm I or CNPM I

Rerun project resolution