-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: ObjectMiddleware.register: serializer for mini-css-extract-plugin/dist/CssModule/null is already registered when using React 17 and netlify CMS #5321
Comments
Downgrading from |
I believe gatsbyjs/gatsby#30526 broke this by using a different version of |
@MartinSchere is this still an issue with the latest Gatsby version? |
@martinjagodic The issue seem to still exist with Gatsby 5.11.0. This only occurred when upgrading webpack to 5.88.2 My setup:
Error message:
|
@megascrapper My setup is below: Netlify CMS version: 2.15.72 works fine. |
@glassonion1 This only works when I keep the webpack version at 5.88.1. Once I upgraded webpack to any newer version I got the error. |
React 17 is causing the gatsby plugin to throw dependency erros (See #5111). A suggested workaround is:
This causes the issue above:
ERROR
ObjectMiddleware.register: serializer for mini-css-extract-plugin/dist/CssModule/null is already registered
Describe the bug
To Reproduce
Package.json:
This is most likely due to a dependency conflict I guess
The text was updated successfully, but these errors were encountered: