Skip to content

Bug: Missing peer dependencies #9224

@latin-1

Description

@latin-1

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have searched for related issues and found none that matched my issue.
  • I have read the FAQ and my problem is not listed.

Relevant Package

typescript-eslint

Playground Link

No response

Repro Code

{
  "devDependencies": {
    "eslint": "9.4.0",
    "typescript": "5.4.5",
    "typescript-eslint": "8.0.0-alpha.25"
  }
}
Package @typescript-eslint/utils@npm:8.0.0-alpha.25 [a23fe] is requested to provide typescript by its descendants

@typescript-eslint/utils@npm:8.0.0-alpha.25 [a23fe]
└─ @typescript-eslint/typescript-estree@npm:8.0.0-alpha.25 [fd6b8] (via *)
   └─ ts-api-utils@npm:1.3.0 [e2004] (via >=4.2.0)

✘ Package @typescript-eslint/utils@npm:8.0.0-alpha.25 [a23fe] does not provide typescript.
Package @typescript-eslint/type-utils@npm:8.0.0-alpha.25 [47dfd] is requested to provide eslint by its descendants

@typescript-eslint/type-utils@npm:8.0.0-alpha.25 [47dfd]
└─ @typescript-eslint/utils@npm:8.0.0-alpha.25 [a23fe] (via ^8.57.0 || ^9.0.0)
   └─ @eslint-community/eslint-utils@npm:4.4.0 [fd6b8] (via ^6.0.0 || ^7.0.0 || >=8.0.0)

✘ Package @typescript-eslint/type-utils@npm:8.0.0-alpha.25 [47dfd] does not provide eslint.
Package typescript-eslint@npm:8.0.0-alpha.25 [14e3a] is requested to provide eslint by its descendants

typescript-eslint@npm:8.0.0-alpha.25 [14e3a]
├─ @typescript-eslint/eslint-plugin@npm:8.0.0-alpha.25 [a23fe] (via ^8.57.0 || ^9.0.0)
│  └─ @typescript-eslint/utils@npm:8.0.0-alpha.25 [a23fe] (via ^8.57.0 || ^9.0.0)
│     └─ @eslint-community/eslint-utils@npm:4.4.0 [fd6b8] (via ^6.0.0 || ^7.0.0 || >=8.0.0)
├─ @typescript-eslint/parser@npm:8.0.0-alpha.25 [a23fe] (via ^8.57.0 || ^9.0.0)
└─ @typescript-eslint/utils@npm:8.0.0-alpha.25 [a23fe] (via ^8.57.0 || ^9.0.0)
   └─ ...

✘ Package typescript-eslint@npm:8.0.0-alpha.25 [14e3a] does not provide eslint.

ESLint Config

No response

tsconfig

No response

Expected Result

Installed without any warnings.

Actual Result

yarn install reports unmet peer dependencies.

Additional Info

No response

Versions

package version
typescript-eslint 8.0.0-alpha.25
TypeScript 5.4.5
ESLint 9.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions