jest-mongodb icon indicating copy to clipboard operation
jest-mongodb copied to clipboard

ERESOLVE: Found: [email protected], peer mongodb@"3.x.x || 4.x" from @shelf/[email protected]

Open bluet opened this issue 1 year ago • 1 comments

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/mongodb
npm ERR!   mongodb@"^5.0.1" from the root project
npm ERR!   peer mongodb@">=3.4.0" from [email protected]
npm ERR!   node_modules/mongodb-client-encryption
npm ERR!     peerOptional mongodb-client-encryption@"^2.3.0" from [email protected]
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer mongodb@"3.x.x || 4.x" from @shelf/[email protected]
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 avatar Feb 10 '23 21:02 bluet