score:8
Accepted answer
as the error states, the plugin is deprecated since webpack 4
you should remove it and use a different plugin.
there are plenty of posts where you can find how to do this but here is an example: webpack 4 migration commonschunkplugin
Source: stackoverflow.com
Related Query
- Error: webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead
- Error with Webpack version 5.1.2 "MainTemplate.hooks.startup has been removed"
- How to get rid of console warning "enableRowSelect has been deprecated... Please use rowSelection instead.""
- Error in installing webpack on REACT: Invalid configuration object. Webpack has been initialised using a configuration object that
- React-Native: Application has not been registered error
- Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema
- Getting Error from webpack-cli: "TypeError: merge is not a function" in webpack config
- Webpack optimize with UglifyJS plugin causes runtime error
- Element.createShadowRoot is deprecated and will be removed in M73, around March 2019. Please use Element.attachShadow instead
- Firebase Firestore emulator error `Host has been set in both settings() and useEmulator(), emulator host will be used`
- Error: Compiling RuleSet failed: Query arguments on 'loader' has been removed in favor of the 'options' property
- Getting the error "Nested CSS was detected, but CSS nesting has not been configured correctly" in React app?
- Has anyone been successful in implementing google optimize in a SPA React App?
- Metro Bundler has encountered an internal error, please check your terminal error output for more details
- webpack options has an unknown property 'hotOnly'. Invalid options object. Dev Server has been initialized using an options object
- Webpack error: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema
- Webpack fails with babel has been moved to babel-core
- ReactJS - ReactMount: Root element has been removed from its original container. New container
- React Native problem: WebView has been removed from React Native
- Wistia playback in react-player causes error "The XMLHttpRequeset constructor has been tampered with"
- Karma/Jasmine tests fail with error: 'Uncaught Error: Module name "simple_test.js" has not been loaded yet for context: _. Use require([])'
- Error in Entry Module not found - in Webpack Config file
- Karma unit testing: Module name "react" has not been loaded yet for context: _. Use require([])
- Accessing React.DOM.input has been deprecated will be removed in v16.0+?
- Webpack Hot module replacement, react 18 ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before
- Why doesn't storybook use the same webpack config as in the project?
- Fetching a github repo in react gives a "Module "stream" has been externalized for browser compatibility and cannot be accessed in client code" error
- how to avoid "Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema."
- Redux-saga: [...effects] has been deprecated in favor of all([...effects]), please update your code
- Webpack has been initialised using a configuration object that does not match the API schema. webpack install by "npm install webpack"
More Query from same tag
- How can I implement infinite scrolling on a table using react-virualised?
- Can you deconstruct lazily loaded React components?
- Fetch is triggered twice
- first material UI button hides
- Recharts not working in React - 'recharts' does not contain an export named 'Recharts'
- Setting Multiple value from array using hooks
- ReactJS change url
- update only one element of multi-dimensional array using setState
- How to apply style to an array of SVG elements
- how to change the background color of a button without affecting the other buttons in React JS
- Why Does Electron React Passing Prop Uses Older State?
- React Material-Table - How can I add commas between cell that is rendered from fetched array?
- setState updating a mounted state
- React Stripe Elements placeholder based on i18n language
- How to pass a multi-line string as props in a React component?
- Client not receiving json response from server
- Meteor: accounts-ui Package
- ReactJS Navbar not displaying correctly
- Unable to find button to find its disable status for test
- Form fields lose focus when input value changes
- Testing popover components with testing-library for react
- Controlled Select in React not setting defaultValue
- Nginx, React, Node & Let's Encrypt... How to point Nginx at my React app
- How to pass value from one component to another using onClick in React
- How to use loops in promises
- react bootstrap modal throwing error TypeError: Cannot read properties of undefined (reading 'classList')
- Why is my POST route not found in MERN stack?
- Redirected to Default path before getting API Data from Redux on protected routes
- Can't resolve module not found in React.js
- why is user.id accessible on a get request but not a post request? passport.js and mern stack