-
Notifications
You must be signed in to change notification settings - Fork 10.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
_styledComponents.ServerStyleSheet is not a constructor error #3209
Comments
Issue can be closed. Realized its because i did not install the peer dependency for styled-components. |
@jaanhio Can you explain how did you solved this? I am also getting same kind of error.
|
For anyone coming here from google.... this lead me to realize I'm running an older material-ui/core (3.9.x) |
Just had the same issue on my Next build, I ended up with the alpha release of |
Same thing here @sanjsanj. My Error message: |
I had the same problem and changed the import like this: |
Description
I am getting this webpack error when running yarn deploy for my github page.
"deploy": "gatsby build --prefix-paths && gh-pages -d public",
I am using
gatsby-plugin-styled-components: "2.0.2"
andstyled-components: "2.2.4"
.gatsby-pluging-styled-components should have handled the SSR right? or do i still have to configure it manually? it worked fine a few months ago when i deployed the first version of my github page.
The text was updated successfully, but these errors were encountered: