-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
React-router error #234
Comments
I've encountered another error with react-router "Uncaught TypeError: Cannot read property 'func' of undefined". It was fixed by updating to [email protected] as for me. I'm not sure, but maybe it will fix your problem too. |
Thanks for the response, I tried that last night as well but still have the error. I might blow the project away and start from scratch, it might be a bad download or something. |
Please type this command in your command prompt Will find this below output: Might be with this update your issue will get resolved. |
Have the same issue as adharbert. Fixed by updating to [email protected] as maximsan said. |
Also, you could consider installing react-router-dom instead of react-router, it seems to be the way to go regarding routing. I used only that dependency and did not encounter any problems |
Thanks @maximsan for sharing this. I thought that I would never finish this course because of this stupid bug. |
I'm not sure what the error is, but when I installed react-router it isn't working. I get the same error over and over on the new site, if I remove imports for react-router I am able to see the page, but once I log back in, I get the following error:
Any ideas why this would be an issue?
Thanks!
The text was updated successfully, but these errors were encountered: