This repository has been archived by the owner on Oct 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Can't Build and Run #1
Comments
Would you have more details about the error or link for playback? I did the whole process and had no problems with React 16.8. |
Here's the issue in detail: reduxjs/react-redux#1319 When I run the "with-redux" example in the next.js project, I am able to build and run just fine. Not sure what the disconnect is. On node v10.16.0 |
It appears that downgrading the react-redux package solved this issue for me.
to
|
This is because the newer versions of redux are built differently and implemented differently. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Have to upgrade React and React Dom to 16.8, but then when you try to build and run the project, you get the following error:
Invariant Violation: Could not find "store" in the context of "Connect(WithStyles)". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to Connect(WithStyles) in connect options.
Everything works perfectly in dev mode.
The text was updated successfully, but these errors were encountered: