'Conflicting peer dependency: [email protected] @typescript-eslint/[email protected]
I don't get this, all of the versions seem compatible to me, what am I missing? how do I fix this so I can successfully dedupe? monorepo using npm workspaces. I've been holding back on upgrading to eslint 8 due to intellij incompatablities
❯ npm dedupe
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @typescript-eslint/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR! peer eslint@"*" from @angular-eslint/[email protected]
npm ERR! node_modules/@angular-eslint/builder
npm ERR! dev @angular-eslint/builder@"12.4.1" from [email protected]
npm ERR! front-end
npm ERR! [email protected]
npm ERR! node_modules/front-end
npm ERR! workspace front-end from the root project
npm ERR! peer eslint@"*" from @angular-eslint/[email protected]
npm ERR! node_modules/@angular-eslint/eslint-plugin
npm ERR! @angular-eslint/eslint-plugin@"12.4.1" from @angular-eslint/[email protected]
npm ERR! node_modules/@angular-eslint/schematics
npm ERR! dev @angular-eslint/schematics@"12.4.1" from [email protected]
npm ERR! front-end
npm ERR! [email protected]
npm ERR! node_modules/front-end
npm ERR! dev @angular-eslint/eslint-plugin@"12.4.1" from [email protected]
npm ERR! front-end
npm ERR! [email protected]
npm ERR! node_modules/front-end
npm ERR! workspace front-end from the root project
npm ERR! 51 more (@angular-eslint/eslint-plugin-template, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0" from @typescript-eslint/[email protected]
npm ERR! back-end/node_modules/@typescript-eslint/eslint-plugin
npm ERR! dev @typescript-eslint/eslint-plugin@"~5.16" from [email protected]
npm ERR! back-end
npm ERR! [email protected]
npm ERR! node_modules/back-end
npm ERR! workspace back-end from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/eslint
npm ERR! peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0" from @typescript-eslint/[email protected]
npm ERR! back-end/node_modules/@typescript-eslint/eslint-plugin
npm ERR! dev @typescript-eslint/eslint-plugin@"~5.16" from [email protected]
npm ERR! back-end
npm ERR! [email protected]
npm ERR! node_modules/back-end
npm ERR! workspace back-end from the root project
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
