Closed hitvoice closed 5 years ago
Solve it by following https://github.com/creativetimofficial/material-dashboard-react/issues/87
Hello there, @hitvoice ,
Thank you for your interest in working with our products. Sorry for the late response, we do not work on weekends. In our package.json file we only install "react-router-dom". This package auto-installs "react-router". The problem is that is installing the latest version of "react-router", instead of the same version as "react-router-dom", and that is why you are having this error. Run the following command:
npm i -E react-router@4.3.1
And this will do the trick.
Best, Manu
It works. Thanks for the reply!
!!! IF YOU DO NOT USE THIS ISSUES TEAMPLATE, YOUR ISSUE IS LIABLE TO BEING IGNORED BY US
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
Browse without error.
Current Behavior
When running
npm start
afternpm install
, in the browser it says:It seems to be something related to react router.
Failure Information (for bugs)
Steps to Reproduce
Context
Failure Logs