Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart TS server: TSServer exited. Code: null. Signal: SIGTERM #161291

Closed
shezhangzhang opened this issue Sep 20, 2022 · 6 comments
Closed

Restart TS server: TSServer exited. Code: null. Signal: SIGTERM #161291

shezhangzhang opened this issue Sep 20, 2022 · 6 comments
Assignees
Labels
*as-designed Described behavior is as designed

Comments

@shezhangzhang
Copy link

shezhangzhang commented Sep 20, 2022

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
    Version: 1.71.2
    Commit: 74b1f97
    Date: 2022-09-14T21:07:15.900Z
    Electron: 19.0.12
    Chromium: 102.0.5005.167
    Node.js: 16.14.2
    V8: 10.2.154.15-electron.0
    OS: Darwin arm64 21.6.0
    Sandboxed: No
  • OS Version: Darwin arm64 21.6.0

Steps to Reproduce:

image

image

When I restart ts server, I got this error: "TSServer exited. Code: null. Signal: SIGTERM".
What's wrong here ? Or it's ok ?

@mjbvz
Copy link
Collaborator

mjbvz commented Sep 20, 2022

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

@mjbvz
Copy link
Collaborator

mjbvz commented Sep 20, 2022

Oh actually, if you're restarting SIGTERM is expected. It just means that the previous server process was terminated

@mjbvz mjbvz closed this as completed Sep 20, 2022
@mjbvz mjbvz added the *as-designed Described behavior is as designed label Sep 20, 2022
@shezhangzhang
Copy link
Author

Thanks.

@Manuelbaun
Copy link

I got the same error, but ts does not work after restart. When I hover over something it says (loading...)

[Info  - 11:33:48.360] <syntax> Forking...
[Info  - 11:33:48.375] <syntax> Starting...
[Info  - 11:33:48.375] <semantic> Forking...
[Info  - 11:33:48.391] <semantic> Starting...
[Error  - 11:33:48.451] TSServer exited. Code: null. Signal: SIGTERM

@FrameMuse
Copy link

When I try to put this option to "always"
image
TS Server stops working at all with the error:

[Info  - 11:49:53.558] Killing TS Server
[Info  - 11:49:53.558] Starting TS Server
[Info  - 11:49:53.558] Using tsserver from: /home/kotto/.vscode-server-insiders/bin/f4c58486f4a33b8c61f30a244374ef0d27dc19c3/extensions/node_modules/typescript/lib/tsserver.js
[Info  - 11:49:53.558] <syntax> Forking...
[Info  - 11:49:53.564] <syntax> Starting...
[Error  - 11:49:53.567] TSServer exited. Code: null. Signal: SIGTERM

@IRediTOTO
Copy link

I usually have this error too. I don't know why it happened

@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed
Projects
None yet
Development

No branches or pull requests

5 participants