typescript `6.0.3` dependency issue

オープン
#2,022 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
node.js, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

  • 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

https://github.com/Swatinem/rollup-plugin-dts/issues/385

主要言語
JavaScript
スター
3.8k
フォーク
635
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rollup/plugins のほかの issue

rollup/plugins の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。