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

npm start results in fatal errors #10

Open
gpolyn opened this issue Jun 28, 2017 · 2 comments
Open

npm start results in fatal errors #10

gpolyn opened this issue Jun 28, 2017 · 2 comments

Comments

@gpolyn
Copy link

gpolyn commented Jun 28, 2017

Using node 6.11.0, getting the following after npm start

Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check your code at index.js:24.
    in Docs (at index.js:6)
@vitozgonik
Copy link

vitozgonik commented Nov 3, 2017

hey, I had the same issue, found out it was the version of react-router causing this.

so I installed react-router-dom instead, note that you need to then change instances of Match to Route

there actually is a pull request to fix this - see here what needs changing #9

@cvramirez
Copy link

You can try this fork until the fix gets merged.

https://github.com/susielu/component-template

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

No branches or pull requests

3 participants