DEV Community

Marc-Andre
Marc-Andre

Posted on

2 3

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!

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

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay