Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm error: Could not resolve dependency: peer @remix-run/dev@"2.9.1" from @vercel/remix@2.9.2 #116

Closed
styxlab opened this issue May 29, 2024 · 1 comment

Comments

@styxlab
Copy link

styxlab commented May 29, 2024

Peer dependency from @vercel/remix@2.9.2 need to be updated. Here is the npm install error I get after bumping packages to "2.9.2":

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: dashboard@undefined
npm error Found: @remix-run/dev@2.9.2
npm error node_modules/@remix-run/dev
npm error   dev @remix-run/dev@"2.9.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @remix-run/dev@"2.9.1" from @vercel/remix@2.9.2
npm error node_modules/@vercel/remix
npm error   @vercel/remix@"2.9.2" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

I am a bit surprised that this error is happening, because I think there is an automated update mechanism in place, but it looks like the devDependencies are not updated correctly. Please fix.

Workaround is to use npm install --legacy-peer-deps.

@styxlab
Copy link
Author

styxlab commented May 29, 2024

Solved with '@vercel/remix@2.9.2-patch.2'

@styxlab styxlab closed this as completed May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant