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

ERESOLVE: Found: mongodb@5.0.1, peer mongodb@"3.x.x || 4.x" from @shelf/jest-mongodb@4.1.6 #416

Open
bluet opened this issue Feb 10, 2023 · 1 comment

Comments

@bluet
Copy link

bluet commented Feb 10, 2023

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: url-shortener@0.0.1
npm ERR! Found: mongodb@5.0.1
npm ERR! node_modules/mongodb
npm ERR!   mongodb@"^5.0.1" from the root project
npm ERR!   peer mongodb@">=3.4.0" from mongodb-client-encryption@2.5.0
npm ERR!   node_modules/mongodb-client-encryption
npm ERR!     peerOptional mongodb-client-encryption@"^2.3.0" from mongodb@5.0.1
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer mongodb@"3.x.x || 4.x" from @shelf/jest-mongodb@4.1.6
npm ERR! node_modules/@shelf/jest-mongodb
npm ERR!   dev @shelf/jest-mongodb@"*" 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.
@bluet
Copy link
Author

bluet commented Feb 10, 2023

Can be fixed by PR #415 I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant