Skip to content

typescript 6.0.3 dependency issue #2022

Description

@khteh
  • Rollup Plugin Name: @rollup/plugin-typescript
  • Rollup Plugin Version: 12.3.0
  • Rollup Version: 4.60.4
  • Operating System (or Browser): Ubuntu 26.04
  • Node Version: v26.7.0
  • Link to reproduction (⚠️ read below): https://github.com/khteh/Node.JSRestAPI

Expected Behavior

Actual Behavior

node v26.7.0

    "rollup": "^4.60.4",
    "rollup-plugin-dts": "^6.4.1",
    "@rollup/plugin-json": "^6.1.0",
    "@rollup/plugin-typescript": "^12.3.0",
npm error While resolving: rollup-plugin-dts@6.3.0
npm error Found: typescript@6.0.3
npm error node_modules/typescript
npm error   dev typescript@"^6.0.3" from the root project
npm error   peer typescript@">=3.7.0" from @rollup/plugin-typescript@12.3.0
npm error   node_modules/@rollup/plugin-typescript
npm error     dev @rollup/plugin-typescript@"^12.3.0" from infrastructure@2.0.0
npm error     src/infrastructure
npm error       infrastructure@2.0.0
npm error       node_modules/infrastructure
npm error         workspace src/infrastructure from the root project
npm error     dev @rollup/plugin-typescript@"^12.3.0" from webapi@2.0.0
npm error     src/webapi
npm error       webapi@2.0.0
npm error       node_modules/webapi
npm error         workspace src/webapi from the root project
npm error     1 more (webapi.core)
npm error   10 more (ts-node, infrastructure, webapi, webapi.core, ...)
npm error
npm error Could not resolve dependency:
npm error peer typescript@"^4.5 || ^5.0" from rollup-plugin-dts@6.3.0
npm error node_modules/rollup-plugin-dts
npm error
npm error Conflicting peer dependency: typescript@5.9.3
npm error node_modules/typescript
npm error   peer typescript@"^4.5 || ^5.0" from rollup-plugin-dts@6.3.0
npm error   node_modules/rollup-plugin-dts

Additional Information

Swatinem/rollup-plugin-dts#385

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions