Skip to content
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

gatsby-emotion-plugin and Redux don't work together on production builds #2578

Closed
eladams opened this issue Oct 22, 2017 · 2 comments
Closed

Comments

@eladams
Copy link

eladams commented Oct 22, 2017

Getting the following error when the build is on the HTML build stage:
WebpackError: Could not find "store" in either the context or props of "Connect(DefaultLayout)"

@eladams eladams changed the title gatsby emotion plugin + redux don't work together on production build gatsby-emotion-plugin and Redux don't work together on production build Oct 22, 2017
@eladams eladams changed the title gatsby-emotion-plugin and Redux don't work together on production build gatsby-emotion-plugin and Redux don't work together on production builds Oct 22, 2017
@fk
Copy link
Contributor

fk commented Oct 24, 2017

Hi @eladams! I didn't play around with neither emotion nor Redux (and Gatsby), but https://gatsbythemes.com/blog/how-to-use-redux-and-emotion-in-gatsby might help.

@m-allanson
Copy link
Contributor

Gatsby should now warn you when you run into issues like this - see #2005 and #3889.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants