eslint-plugin-remix-react-routes icon indicating copy to clipboard operation
eslint-plugin-remix-react-routes copied to clipboard

Peer dependency issue, seeking advice for work around

Open roger-tbg opened this issue 1 year ago • 1 comments

If I try to make use of this with remix v2.3.1 I get this:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @remix-run/[email protected]
npm ERR! node_modules/@remix-run/dev
npm ERR!   dev @remix-run/dev@"^2.3.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @remix-run/dev@"^1.5.1" from [email protected]
npm ERR! node_modules/eslint-plugin-remix-react-routes
npm ERR!   dev eslint-plugin-remix-react-routes@"^1.0.5" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @remix-run/[email protected]
npm ERR! node_modules/@remix-run/dev
npm ERR!   peer @remix-run/dev@"^1.5.1" from [email protected]
npm ERR!   node_modules/eslint-plugin-remix-react-routes
npm ERR!     dev eslint-plugin-remix-react-routes@"^1.0.5" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:

roger-tbg avatar Dec 13 '23 14:12 roger-tbg

I have this issue as well. When using the epic-stack. For some reason, it does not happen normally, but it happens when I attempted to dockerize the app locally for development. Anyway, my workaround was to remove this package, as I was not yet relying on it yet, and I can live without it for now.

gnapse avatar May 01 '24 02:05 gnapse