Closed dependabot[bot] closed 6 months ago
The error(s):
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @typescript-eslint/eslint-plugin@7.8.0
npm ERR! Found: eslint@9.1.1
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^9.1.1" from the root project
npm ERR! peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
npm ERR! node_modules/@eslint-community/eslint-utils
npm ERR! @eslint-community/eslint-utils@"^4.4.0" from @typescript-eslint/utils@7.8.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils
npm ERR! @typescript-eslint/utils@"7.8.0" from @typescript-eslint/eslint-plugin@7.8.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! dev @typescript-eslint/eslint-plugin@"^7.8.0" from the root project
npm ERR! 1 more (eslint-config-airbnb-typescript)
npm ERR! 1 more (@typescript-eslint/type-utils)
npm ERR! @eslint-community/eslint-utils@"^4.2.0" from eslint@9.1.1
npm ERR! 2 more (eslint-config-prettier, eslint-plugin-sort-exports)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^8.56.0" from @typescript-eslint/eslint-plugin@7.8.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! dev @typescript-eslint/eslint-plugin@"^7.8.0" from the root project
npm ERR! peer @typescript-eslint/eslint-plugin@"^7.0.0" from eslint-config-airbnb-typescript@18.0.0
npm ERR! node_modules/eslint-config-airbnb-typescript
npm ERR! dev eslint-config-airbnb-typescript@"^18.0.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: eslint@8.57.0
npm ERR! node_modules/eslint
npm ERR! peer eslint@"^8.56.0" from @typescript-eslint/eslint-plugin@7.8.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! dev @typescript-eslint/eslint-plugin@"^7.8.0" from the root project
npm ERR! peer @typescript-eslint/eslint-plugin@"^7.0.0" from eslint-config-airbnb-typescript@18.0.0
npm ERR! node_modules/eslint-config-airbnb-typescript
npm ERR! dev eslint-config-airbnb-typescript@"^18.0.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.
Seeing the eslint-config-airbnb-typescript
mentioned twice above, I experimented (to narrow down which package is causing issues) by removing it from package.json
locally, deleting package-lock.json
and running npm i
, but still get the first error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @pdc/service@undefined
npm ERR! Found: eslint@9.1.1
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^9.1.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^8.56.0" from @typescript-eslint/parser@7.8.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR! dev @typescript-eslint/parser@"^7.8.0" from the root project
npm ERR! peer @typescript-eslint/parser@"^7.0.0" from @typescript-eslint/eslint-plugin@7.8.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! dev @typescript-eslint/eslint-plugin@"^7.8.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.
I guess neither eslint-config-airbnb-typescript
nor @typescript-eslint/parser@7.8.0
is ready for eslint 9+.
Looking at recent versions of eslint
and their downloads, it appears 8.57.0
is the most popular. I would have quoted from there but for some reason they presented tabular data in div
elements making it difficult to copy and paste in a tabular way.
Let's substitute https://github.com/PhilanthropyDataCommons/service/pull/977 instead of this PR.
This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.
To ignore these dependencies, configure ignore rules in dependabot.yml
Bumps the eslint group with 3 updates in the / directory: @typescript-eslint/eslint-plugin, @typescript-eslint/parser and eslint.
Updates
@typescript-eslint/eslint-plugin
from 7.5.0 to 7.8.0Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
ee677f6
chore(release): publish 7.8.08127873
fix(eslint-plugin): [no-unused-vars] clear error report range (#8640)216d1b0
fix(eslint-plugin): [no-unsafe-return] handle union types (#9001)51d2193
fix(eslint-plugin): [consistent-type-assertions] handle tagged templates (#8993)4bed24d
fix(eslint-plugin): [prefer-optional-chain] suggests optional chaining during...b0f7aa4
fix(eslint-plugin): [no-unsafe-argument] handle tagged templates (#8746)219b841
chore: resolve lint issues on main branch (#8966)3e19436
chore(release): publish 7.7.1b2552ca
fix(eslint-plugin): [no-unnecessary-type-assertion] allow non-null assertion ...fdeba42
fix(eslint-plugin): [no-for-in-array] refine report location (#8874)Updates
@typescript-eslint/parser
from 7.5.0 to 7.8.0Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.Commits
ee677f6
chore(release): publish 7.8.03e19436
chore(release): publish 7.7.1e44a1a2
chore(release): publish 7.7.0e1db872
chore(release): publish 7.6.0a6ab2cb
feat: bump npm dependency ranges (#8860)Updates
eslint
from 8.57.0 to 9.1.1Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
b4d2512
9.1.1ef36aa4
Build: changelog update for 9.1.1a26b402
fix: use@eslint/create-config
latest (#18373)b78d831
9.1.0e4d9c92
Build: changelog update for 9.1.0d9a2983
chore: upgrade@eslint/js
to v9.1.1 (#18367)03068f1
feat: Provide helpful error message for nullish configs (#18357)50d406d
chore: package.json update for@eslint/js
release8d18958
fix: Remove name from eslint/js packages (#18368)155c71c
chore: package.json update for@eslint/js
releaseDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show