microsoft / microsoft/TypeScript

Removing `node_modules`, running `npm ci` leaves diagnostics behind in ts and tsconfig files

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

@sheetalkamat がすでに取り組んでいます。

2024年5月2日 から。

Needs Investigation
主要言語
Go
スター
111k
フォーク
14.4k
平均マージ
1日 19時間
マージ済み PR(30日)
117

説明

Acknowledgement
  • I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.
Comment

I've been having quite a few watcher problems recently, and have been collecting log files to try and report the problem.

The last two come from doing npm ci inside of https://github.com/jakebailey/every-ts and https://github.com/jakebailey/hereby, but the first one is a very very simple project: https://github.com/jakebailey/ts-watcher-issue-1

In that one, the first trace is just me opening the already-installed repo, running rm -rf node_modules, waiting for the errors to appear in index.ts and tsconfig.json, and then doing npm ci. The errors in tsconfig.json do not disappear.

image

In this example, it also reproduces in --watch mode.

ts-watcher-issue-1

I also experience this within the TS repo, but I haven't been able to get a trace of that one yet.

@sheetalkamat

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

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

はじめの一歩

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

評価

この issue はまだ評価されていません。

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

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