microsoft / microsoft/TypeScript

[error] TSServer exited. Code: null. Signal: SIGTERM on VSCode output - but Typescript still runs in the background

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

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

Needs More Info
主要言語
Go
スター
111k
フォーク
14.3k
平均マージ
2日 4時間
マージ済み PR(30日)
132

説明

🔎 Search Terms

[error] TSServer exited. Code: null. Signal: SIGTERM

🕗 Version & Regression Information
  • This is the behavior in every version I tried (5.8.3, 5..7.0)
⏯ Playground Link

No response

💻 Code
{
    "compilerOptions": {
        "target": "esnext",
        "module": "esnext",
        "lib": ["ES2023"],
        "sourceMap": true,
        "moduleResolution": "bundler",
        "resolveJsonModule": true,
        "isolatedModules": true,
        "skipLibCheck": true,
        "strict": true,
        "allowJs": false,
        "checkJs": false,
        "esModuleInterop": true,
        "forceConsistentCasingInFileNames": true,
        "outDir": "build",
        "rootDir": "src",
        "baseUrl": ".",
        "incremental": true,
        "removeComments": true,
        "noUnusedLocals": false,
        "noUnusedParameters": true,
        "verbatimModuleSyntax": true,
        "paths": {
            "@/*": ["src/*"]
        }
    },
    "tsc-alias": {
        "resolveFullPaths": true
    },
    "include": ["src/**/*.ts", "src/**/*.test.ts"],
    "exclude": ["node_modules", "build"]
}

🙁 Actual behavior

I am getting [error] TSServer exited. Code: null. Signal: SIGTERM
Error on my Typescript Output in VSCode
But Typescript still works in the background - if const is not fulfilling interface I will get error about it.
I will also mention VScode is extreamly slow and I suspect one of the reason is that, and that there are multiple Typescript processes in the background.

🙂 Expected behavior

For the process to just be running normally

Additional information about the issue

No response

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

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

はじめの一歩

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

調査の方向性

提供された tsconfig と VSCode TypeScript Output メッセージから始め、報告された TypeScript バージョン全体で SIGTERM を再現します。TypeScript プロセスが外部から終了させられているか、重複したプロセスが残っているかを確認します。原因を特定し、報告されたエラーなしでプロセスが正常に動作することを確認できれば完了です。

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

評価

技術スタック
typescript
領域
tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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