Webpack4 compilation error there is a problem with the less module

is working on a project with vue.js, which is normal at first. As a result, the dependency of vue-resource is needed, so npm install vue-resource-save is installed. After loading the fix that prompted a message to need npm audit or something, I did it.

clipboard.png

npm run dev

clipboard.png

< hr >

ERROR Failed to compile with 1 errors 6:12:04 PM

error in. / src/index.less

Module build failed (from. / node_modules/less-loader/dist/cjs.js):

/ / https://github.com/ant-design.
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?

  in /Volumes/Studio/appServer/public/mis/node_modules/iview/src/styles/color/bezierEasing.less (line 110, column 0)

@. / src/index.less 4:14-14:3-18:5-224
@. / src/main.js
@ multi (webpack)-dev-server/client?

May.12,2021

remove node_module, and reinstall

Menu