custom-immutable-matchers
custom-immutable-matchers copied to clipboard
npm ERESOLVE error with [email protected]
This library now throws an ERESOLVE error on attempted installation.
npm i --save immutable
added 1 package in 1s
npm i --save jest-immutable-matchers 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/immutable npm ERR! immutable@"^4.0.0-rc.12" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer immutable@">=3.0.0" from [email protected] npm ERR! node_modules/jest-immutable-matchers npm ERR! jest-immutable-matchers@"*" 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! See [path]\npm-cache\eresolve-report.txt for a full report.
Feel free to open a PR.
I'd be happy to if I knew how to fix it. Shouldn't 4.0.0 satisfy the requirement of >= 3.0.0? Or if no and that comparison logic stops at the major revision number, then wouldn't this be a breaking change that wouldn't be backward compatible...? I'm afraid I'm not very expert on version resolution in npm and don't quite know the right move here.
Any solution for this?
@cristian-sima still waiting for PRs. Feel free to contribute.