Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 7, 2022 09:03 am GMT

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;}

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?


Original Link: https://dev.to/marcandreh/easy-fix-for-webpack-error-in-plugin-react-was-conflicted--3nm8

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To