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

ReferenceError: initialState is not defined #3

Closed
devellopah opened this issue Sep 18, 2016 · 8 comments
Closed

ReferenceError: initialState is not defined #3

devellopah opened this issue Sep 18, 2016 · 8 comments

Comments

@devellopah
Copy link

devellopah commented Sep 18, 2016

I am sorry for this, actually there is no error with your boilerplate. Let me explain.
I have cloned your boilerplate to use for my Recipebook(the app i am building in educational purposes in order to get solid understanding of redux ecosystem).
So i have changed boilerplate to fit my needs.
After that i run npm run build successfully.
And then i get error(screenshot below) on 'npm start'.
I have created Recipebook repo where i have uploaded my code.
I know i asking for too much but i am eated my braines trying to figure this out.
Can you please check my repo and help me figure out how to fix this error.
Thanks in advance!
recipebook error

@wellyshen
Copy link
Owner

@dagman Let me check it first.

@wellyshen
Copy link
Owner

wellyshen commented Sep 19, 2016

Yo @dagman,

It's because of your configureStore.js is requiring the initialState parameter but it can't be accessed. I have modified your code and sent a PR to you, please check it ;)

@isaadabbasi
Copy link

Quick Solution:
This may not be the perfect solution but what i found it to be is way the node/test envs are reading the modules.
replace const/let with var and replicate the object in param assignment.
solution1

wellyshen pushed a commit that referenced this issue May 25, 2019
Fix error: Warning: Functions are not valid as a React child.
@FablihaNahid
Copy link

1
2

I'm facing this error and unable to solve it. can you help me how can I resolve it?

@zack-ari
Copy link

1 2

I'm facing this error and unable to solve it. can you help me how can I resolve it?

Hi there, did you find a solution for this facing same error here

@nghianm93
Copy link

image

Try this.

@asif-code
Copy link

It Works

@vectordotsats
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants