./node_modules/antd/es/style/index.less (./node_modules/css-loader/dist/cjs.js??ref–6-oneOf-7-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref–6-oneOf-
7-3!./node_modules/less-loader/dist/cjs.js??ref–6-oneOf-7-4!./node_modules/antd/es/style/index.less)
ValidationError: Invalid options object. Less Loader has been initialized using an options object that does not match the API schema.
This is the problem with the less-loader version
yarn remove less-loader
yarn add [email protected]
Read More:
- [Solved] react-router-dom Error: index.js:1 Warning: Functions are not valid as a React child.
- [Solved] React Dependency Error: Invalid tag name “^np.0.2“ of package “react@^np.0.2“: Tags may not have an
- [Solved] Vue Error: Syntax Error: TypeError: Cannot set properties of undefined (setting ‘XXX’)
- [Solved] React Error: ReactDOM.render is no longer supported in React 18.
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- After Vue is packaged to the server, the static resource path reports an error
- [Solved] Vue Project Error: Syntax Error: TypeError: this.getOptions is not a function
- The solution to the problem that the custom styles of UI components such as element-ui in the vue project do not take effect
- [Solved] React Invariant Violation: Minified React error #130
- React Error: history is undefined [How to Solve]
- [Solved] vue Project Error: react lazy eslint error Parsing error: Unexpected token import
- [Solved] Error: ENOENT: no such file or directory, scandir ‘..\node_modules\node-sass\vendor‘
- [Solved] Vue Error: Module build failed Error Node Sass version 6.0.1 is incompatible with ^4.0.0.
- error: Vue Project lang=“less“ Error [How to Solve]
- [Solved] start value has mixed support, consider using flex-start instead
- [Solved] vite2+vue3 jsx Error: React is not defined
- [Solved] Module build failed TypeError this.getOptions is not a function at Object.loader
- [Solved] Syntax Error: Error: Loading PostCSS Plugin failed: Cannot find module ‘autoprefixer‘
- [Solved] npm Error: Class extends value undefined is not a constructor or null
- “Failed to load resource: net::ERR_FILE_NOT_FOUND” error. The project created by vue-cli 3.0 can run under dev, and an error is reported after packaging, and the page is blank.