Skip to content

ERESOLVE overriding peer dependency with [email protected] #61

@throrin19

Description

@throrin19

Description

When I try to upgrade typescript package to 5.8.3 I have an npm error from this plugin :

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @typescript-eslint/[email protected]
npm warn Found: [email protected]
npm warn node_modules/typescript
npm warn   dev typescript@"5.8.3" from the root project
npm warn   21 more (@typescript-eslint/eslint-plugin, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer typescript@">=4.8.4 <5.8.0" from @typescript-eslint/[email protected]
npm warn node_modules/@typescript-eslint/typescript-estree
npm warn   @typescript-eslint/typescript-estree@"8.19.1" from @typescript-eslint/[email protected]
npm warn   node_modules/@typescript-eslint/utils
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/typescript
npm warn   peer typescript@">=4.8.4 <5.8.0" from @typescript-eslint/[email protected]
npm warn   node_modules/@typescript-eslint/typescript-estree
npm warn     @typescript-eslint/typescript-estree@"8.19.1" from @typescript-eslint/[email protected]
npm warn     node_modules/@typescript-eslint/utils
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @typescript-eslint/[email protected]
npm warn Found: [email protected]
npm warn node_modules/typescript
npm warn   dev typescript@"5.8.3" from the root project
npm warn   21 more (@typescript-eslint/eslint-plugin, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer typescript@">=4.8.4 <5.8.0" from @typescript-eslint/[email protected]
npm warn node_modules/@typescript-eslint/utils
npm warn   @typescript-eslint/utils@"8.19.1" from [email protected]
npm warn   node_modules/eslint-plugin-prefer-arrow-functions
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/typescript
npm warn   peer typescript@">=4.8.4 <5.8.0" from @typescript-eslint/[email protected]
npm warn   node_modules/@typescript-eslint/utils
npm warn     @typescript-eslint/utils@"8.19.1" from [email protected]
npm warn     node_modules/eslint-plugin-prefer-arrow-functions

Suggested Solution

Add compatibility with typescript 5.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions