Then type npm start and it should work or else to be safe double check your package.json file to see of the latest version is installed.įrom my understanding so far this is an error with an older version of the react-router-dom and the simple explanation to it is that the new version should be updated in place of the old one. Now the latest version of react-router-dom will be installed in my case currently its v5 Hey I resolved this issue and is simple to do, so please follow these steps:ġst step: Go to package.json and manually remove it is important to save the file once it is removed otherwise the app won't know the difference.Ģnd step: Type npm install so that the changes you made in the package.json towards removing is done.ģrd step: visit and reinstall the updated version of React Router Dom by typing this command npm i react-router-dom Npm ERR! notarget It was specified as a dependency of 'antd-demo' Npm ERR! notarget a package version that doesn't exist. So, let’s start with the discussion about the changes which is noticed in a new version of react-router. It provides React Router DOM package, which facilitates component-based routing according to the needs of the application and platform. Npm ERR! notarget No matching version found for ERR! notarget In most cases you or one of your dependencies are requesting React Router is a standard library that helps to do that path set up. Npm WARN deprecated for migration path(s).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |