Replies: 1 comment 1 reply
-
According to the screenshot, I think it is due to the version issues. However, it is very hard to know the root cause without delving deeper into your project. The following is one potential solution u could try: step 1First of all, ensure the version of npm view react-router-dom peerDependencies step 2You could try to clear cache and then reinstall. npm cache clean --force
npm install react-router-dom --save If you really could not find any workable solution, maybe you could try deleting the whole rm -rf node_modules package-lock.json
npm install |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hello everyone,
I have a problem with the installation of react-router-dom. When the command runs, everything works, but it is not present in the dependencies in package.json. Here is the error message. Do you have any advice?
node v20.17.0
npm 11.0.0
Beta Was this translation helpful? Give feedback.
All reactions