DEV Community


Posted on

Easy fix for webpack ERROR in Plugin "react" was conflicted ...

Regardless whether you just upgraded to React 18 or some of your Node dependencies in package.json, version conflicts are very annoying!

Image description

But there's an easy fix:

#webpack-dev-server-client-overlay {
  display: none;
Enter fullscreen mode Exit fullscreen mode

Just insert these three lines of code in any top level CSS file (such as your index.css) and the error – at least its overlay – will be gone!

What was your latest temp fix that you accidentally pushed into a Git repo?

Top comments (0)