alinz / example-react-native-redux

react native redux counter example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Store does not have a valid reducer ..."

gpmcadamold opened this issue · comments

I'm getting the following error after a fresh checkout and build:

image

console.error: "Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers."

@gpmcadam have you install all the modules by calling npm install? make sure that you are using npm 3.x. Also these type of errors showing if you don't set the initial state. In my example, here what I set the initialState. Double check again and let me know if you still have this issue.

can you also send me your info about node version and npm version.

@gpmcadam I have written another example, check that one and see if that works. reopen this issue if you still have problem

I'm getting the same error and I am using the code you mention above. sort of odd.