@parcel/core: Failed to resolve 'react-router/dom' from './node_modules/react-router-dom/dist/index.mjs' #10024
Replies: 5 comments 10 replies
-
Just remove react-router-dom package and install react-router |
Beta Was this translation helpful? Give feedback.
-
npm install react-router-dom@6.22.0 (install this router version it will work ) |
Beta Was this translation helpful? Give feedback.
-
Maybe try enabling package exports? https://parceljs.org/features/dependency-resolution/#enabling-package-exports |
Beta Was this translation helpful? Give feedback.
-
This is an issue with the build cache. You can delete the cache manually like other commenters have suggested, or you can pass the |
Beta Was this translation helpful? Give feedback.
-
The nocache flag doesn't work. Only downgrading to react-router-dom@6.7.0 works. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
please resolve this issue
Beta Was this translation helpful? Give feedback.
All reactions