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

Uncaught TypeError: Cannot read property 'apply' of undefined in Google Chrome #1114

Closed
gadfil opened this issue Nov 29, 2016 · 6 comments
Closed

Comments

@gadfil
Copy link

gadfil commented Nov 29, 2016

Hi,
I am new to Reac&Redux app.
I use create-react-app but sometimes i have error in google chrome

Uncaught TypeError: Cannot read property 'apply' of undefined

default

after restart the google chrome, app works for me

in other browsers do not have this error

@gaearon
Copy link
Contributor

gaearon commented Nov 29, 2016

This is not a problem with Create React App itself. As you can see it throws inside configureStore so you’re likely passing something invalid to it. For example, maybe you use Redux DevTools and pass undefined to compose() or something like this. It’s hard to say without a code example, and I’ll close since it’s not specific to Create React App, but feel free to continue the discussion or link to a failing project that can reproduce this.

@gaearon gaearon closed this as completed Nov 29, 2016
@gadfil
Copy link
Author

gadfil commented Nov 29, 2016

thank you very much you are right

@falzate81
Copy link

falzate81 commented Sep 26, 2017

I had the same problem and I could solve it with the info in this two links When browser doesn't have the redux devtools extension the app throws an undefined error Y Advanced store setup

@icarlossz
Copy link

Thanks @falzate81! I install the Redux dev tools and the bug was fixed!

@ariffira
Copy link

thanks @icarlossz

@viclotana
Copy link

redux dev tools fixed this for me

@lock lock bot locked and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants