typescript `6.0.3` dependency issue
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- node.js, typescript
- Domain
- build-system, tooling
Research direction
Start with the linked Node.JSRestAPI reproduction and run npm install using the reported Rollup, @rollup/plugin-typescript, rollup-plugin-dts, TypeScript, and Node versions. Check the peer-dependency requirements shown in the npm error and the related rollup-plugin-dts issue. Done means the dependency conflict is reproduced and either resolved or documented with a confirmed compatible setup.
Written by the indexing model from the issue text.
Description
- 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
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 635
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rollup/plugins
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Support js-yaml v5 Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Babel 8 support Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·