Skip to content

Bug in VSCode and Typescript - TSServer exited. Code: null. Signal: SIGTERM - Even on empty project while tsc build works #62337

@eliezra236

Description

@eliezra236

Type: Bug

Whenever I try to launch a typescript project, even a complexly empty one I am getting the same Error in my output even after restarting ts server.
I created this simple "project" with nothing, the error even occors here.
https://github.com/eliezra236/ts-test

This is the tsconfig

{
    "compilerOptions": {
        "target": "esnext",
        "module": "esnext",
        "lib": [
            "ES2023",
            "dom"
        ],
        "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",
    ],
}
2025-08-26 10:40:01.646 [info] Killing TS Server
2025-08-26 10:40:01.646 [info] Starting TS Server
2025-08-26 10:40:01.646 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js
2025-08-26 10:40:01.646 [info] <syntax> Forking...
2025-08-26 10:40:01.646 [info] <syntax> Starting...
2025-08-26 10:40:01.646 [info] <semantic> Forking...
2025-08-26 10:40:01.647 [info] <semantic> Starting...
2025-08-26 10:40:01.656 [error] TSServer exited. Code: null. Signal: SIGTERM

Even with the mock "project' I created that only has a single file the problem still persist

VS Code version: Code 1.103.2 (Universal) (6f17636121051a53c88d3e605c491d22af2ba755, 2025-08-20T16:45:34.255Z)
OS version: Darwin arm64 24.6.0
Modes:

System Info
Item Value
CPUs Apple M4 (10 x 2400)
GPU Status 2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.53GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (21)
Extension Author (truncated) Version
Bookmarks ale 13.5.0
vscode-tailwindcss bra 0.14.26
path-intellisense chr 2.10.0
vscode-css-modules cli 0.5.4
postcss css 1.0.9
vscode-eslint dba 3.0.16
gitlens eam 17.4.0
prettier-vscode esb 11.0.0
auto-rename-tag for 0.1.10
copilot Git 1.350.0
copilot-chat Git 0.30.3
vscode-pull-request-github Git 0.116.1
todo-tree Gru 0.0.226
prettify-json moh 0.0.3
material-icon-theme PKi 5.26.0
LiveServer rit 5.7.9
code-spell-checker str 4.0.47
sass-indented syl 1.8.33
sort-lines Tyr 1.12.0
pretty-ts-errors Yoa 0.6.1
material-theme zhu 3.19.0

(1 theme extensions excluded)

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