question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find "store" in either the context or props

See original GitHub issue

Hi,

I’m getting this error.

Could not find "store" in either the context or props of "Connect(withProps(withHandlers(withContext(lifecycle(JPlaylist)))))". Either wrap the root component in a <Provider>, or explicitly pass "store" as a prop to "Connect(withProps(withHandlers(withContext(lifecycle(JPlaylist)))))".

Please help me to resolve this error.

Thanks.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
MartinDawsoncommented, Mar 1, 2019

If anyone wants to submit pull requests for a fix up to 6.x and add a peer dependency I will accept.

Or just add a peer dep to 5.x

On Fri, 1 Mar 2019 at 20:09, Sarkis notifications@github.com wrote:

@singhjagmohan1000 https://github.com/singhjagmohan1000 thanks a lot! This solved my issue. The version of react-redux that I had was 6.0.0 and downgrading to 5.0.7 did the trick.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/jplayer/react-jPlayer/issues/22#issuecomment-468795783, or mute the thread https://github.com/notifications/unsubscribe-auth/AOVY27AAjM7jgN8lBw_CDSdMfwJHIyxRks5vSYkOgaJpZM4ZaLvT .

1reaction
digitalraycommented, Mar 1, 2019

@singhjagmohan1000 thanks a lot! This solved my issue. The version of react-redux that I had was 6.0.0 and downgrading to 5.0.7 did the trick.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invariant Violation: Could not find "store" in either the context ...
It's pretty simple. You're trying to test the wrapper component generated by calling connect()(MyPlainComponent) .
Read more >
Could not find - "store" - in - either the context or props
It's saying your connected component cannot be rendered without a store. So, if your current call to shallow is like this: const wrapper...
Read more >
Help with React-Redux connect - Could not find "store" #102
Could not find "store" in either the context or props of "Connect(Main)". Either wrap the root component in a <Provider>, or explicitly pass ......
Read more >
Provider | React Redux
Could not find "store" in the context of "Connect(MyComponent)". Either wrap the root component in a <Provider> , or pass a custom React...
Read more >
Expo - Can't find "store" in either the context or props of ...
I am trying to put in a RBAC login system into my expo app and i am having trouble getting my app file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found