You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typescript@">= 2.8" must match [email protected], right? This error doesn't appear on npm6. Additionally, npm7 can't run npm r to remove unresolvable dependencies.
Current Behavior:
$ npm i
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/typescript
npm ERR! dev typescript@"4.3.0-dev.20210213" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer typescript@">= 2.8" from [email protected]
npm ERR! node_modules/tsify
npm ERR! dev tsify@"^5.0.2" 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.
your dependency tsify has a peer dependency on typescript@">= 2.8" however your package is directly depending on [email protected] which is a conflict.
to get around this, you can either run npm i --force to ignore the conflicts and install anyway, update your tsify dependency to one that has a peerDependency on a matching version of typescript, or change your top level typescript dependency to one that is compatibly with tsify
the reason you don't see this problem in npm 6 is because installing peerDependencies by default is new in npm 7
typescript@">= 2.8" must match [email protected], right? This error doesn't appear on npm6. Additionally, npm7 can't run
npm r
to remove unresolvable dependencies.Current Behavior:
Expected Behavior:
no error
Steps To Reproduce:
Environment:
The text was updated successfully, but these errors were encountered: