Create-react-app: Uncaught TypeError: Cannot read property 'apply' of undefined in Google Chrome

Created on 29 Nov 2016  路  6Comments  路  Source: facebook/create-react-app

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

Most helpful comment

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

All 6 comments

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

thank you very much you are right

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

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

thanks @icarlossz

redux dev tools fixed this for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alleroux picture alleroux  路  3Comments

wereHamster picture wereHamster  路  3Comments

dualcnhq picture dualcnhq  路  3Comments

Evan-GK picture Evan-GK  路  3Comments

fson picture fson  路  3Comments