I need help with getting my node app. It works when I run locally. But when I try to deploy to Heroku or do npm run start with a different script, it can't find store with the following error.
Invariant Violation: Could not find "store" in either the context or props of "Connect(Layout)". Either wrap the root component in a <Provider>, or explicitly pass "store" as a prop to "Connect(Layout)".
Here is the my stackoverflow post.
[url removed, login to view]
I could be a simple fix. I need someone who's familar with Node, React router, Redux