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
My project has a dependency on "@angular-eslint/eslint-plugin": "18.1.0", we update angular regularly and eslint too.
But there is a problem when trying to add ng2-charts to the project:
ng add ng2-charts
ℹ Using package manager: npm
✔ Found compatible package version: [email protected].
✔ Package information loaded.
The package [email protected] will be installed and executed.
Would you like to proceed? Yes
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @angular-eslint/[email protected]
npm ERR! Found: @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/utils
npm ERR! @typescript-eslint/utils@"7.8.0" from @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! dev @typescript-eslint/eslint-plugin@"^7.2.0" from the root project
npm ERR! @typescript-eslint/utils@"7.8.0" from @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/type-utils
npm ERR! @typescript-eslint/type-utils@"7.8.0" from @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! dev @typescript-eslint/eslint-plugin@"^7.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.37" from @angular-eslint/[email protected]
npm ERR! node_modules/@angular-eslint/eslint-plugin
npm ERR! @angular-eslint/eslint-plugin@"18.1.0" from @angular-eslint/[email protected]
npm ERR! node_modules/@angular-eslint/schematics
npm ERR! dev @angular-eslint/schematics@"18.1.0" from the root project
npm ERR! dev @angular-eslint/eslint-plugin@"18.1.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/utils
npm ERR! peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.37" from @angular-eslint/[email protected]
npm ERR! node_modules/@angular-eslint/eslint-plugin
npm ERR! @angular-eslint/eslint-plugin@"18.1.0" from @angular-eslint/[email protected]
npm ERR! node_modules/@angular-eslint/schematics
npm ERR! dev @angular-eslint/schematics@"18.1.0" from the root project
npm ERR! dev @angular-eslint/eslint-plugin@"18.1.0" 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!
npm ERR! For a full report see:
npm ERR! C:\Users\Gerardo Buenrostro\AppData\Local\npm-cache\_logs\2024-07-02T16_49_27_046Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: C:\Users\Gerardo Buenrostro\AppData\Local\npm-cache\_logs\2024-07-02T16_49_27_046Z-debug-0.log
✖ Packages installation failed, see above.
There seems to be a PR that fixes this, but it has not been merged. #1988
The text was updated successfully, but these errors were encountered:
Reproduction of the problem
My project has a dependency on "@angular-eslint/eslint-plugin": "18.1.0", we update angular regularly and eslint too.
But there is a problem when trying to add ng2-charts to the project:
ng add ng2-charts
There seems to be a PR that fixes this, but it has not been merged.
#1988
The text was updated successfully, but these errors were encountered: