question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to report TypeScript langauge service bug with latest stable TypeScript version

See original GitHub issue

Issue Type: Bug

Original error:

The TypeScript language service died 5 times right after it got started. The service will not be restarted.

When I click the Report Issue button I am shown:

Please update your TypeScript version
The workspace is using an old version of TypeScript (4.4.3).

Before reporting an issue, please update the workspace to use the latest stable TypeScript release to make sure the bug has not already been fixed.

However 4.4.3 is the latest version of TypeScript released on npm.

VS Code version: Code 1.60.2 (7f6ab5485bbc008386c4386d08766667e155244e, 2021-09-22T11:59:08.826Z) OS version: Darwin arm64 20.6.0 Restricted Mode: No

System Info
Item Value
CPUs Apple M1 (8 x 24)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.20GB free)
Process Argv . --crash-reporter-id 1cae234a-bed2-4e05-a6ec-38b3b3529bcd
Screen Reader no
VM 0%
Extensions (16)
Extension Author (truncated) Version
jison-syntax-highlight cru 0.1.1
vscode-deno den 3.9.1
gitlens eam 11.6.0
prettier-vscode esb 9.0.0
lex-flex-yacc-bison fau 0.0.3
nearley kar 1.0.3
rust-analyzer mat 0.2.751
vscode-docker ms- 1.17.0
python ms- 2021.9.1246542782
vscode-pylance ms- 2021.9.3
jupyter ms- 2021.8.2041215044
jupyter-keymap ms- 1.0.0
remote-containers ms- 0.194.0
cpptools ms- 1.6.0
makefile-tools ms- 0.2.2
vscode-jest Ort 4.1.2
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
vsccppwtct:30364498
pythonvssor306:30344512
bridge0708:30335490
pygetstartedt2:30371810
dockerwalkthru:30370836
bridge0723:30353136
pythonrunftest32:30365366
pythonf5test824cf:30361778
javagetstartedc:30364665
pythonvspyt187cf:30365362
pydsgst2:30361792
vssid140:30363603
vssur157:30367808

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:5
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
LeonardoGentilecommented, Dec 8, 2021

I stumbled upon this today image

Version: 1.63.0 Commit: 7db1a2b88f7557e0a43fec75b6ba7e50b3e9f77e Date: 2021-12-07T05:15:48.091Z Electron: 13.5.2 Chromium: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Darwin x64 18.7.0

I tough this was a configuration error on my side but after a git checkout of a previously working config I can’t solve the issue. I’m just unable to use typescript features, the ts server crashes continually after vscode lauch. This is my jsconfig:

{
  "compilerOptions": {
    "target": "es6",
    "checkJs": true,
    "jsx": "react",
    "module": "esnext",
    "moduleResolution": "node",
    "esModuleInterop": true,
    "baseUrl": ".",
    "paths": {
      "*": ["*", "src/*"],
      "@src/*": ["./src/*"],
    },
  },
  "include": [
    "./src/**/*",
    "./content/**/*"
  ],
}
3reactions
jankurianskicommented, Oct 12, 2021

I can still reproduce this. I have a pending bug report in the TypeScript language service so you can use the same steps to trigger a crash: https://github.com/microsoft/TypeScript/issues/46119

image

Visual Studio Code Version Info
Version: 1.61.0 (user setup)
Commit: ee8c7def80afc00dd6e593ef12f37756d8f504ea
Date: 2021-10-07T18:13:09.652Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043

At this time, the stable TypeScript version on npm is 4.4.3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The TypeScript language service died 5 times right after it got ...
The workspace is using an old version or TypeScript (undefined). Before reporting an issue, please update the workspace to use the latest stable ......
Read more >
VSCode - TypeScript language service died unexpectedly 5 ...
I work on TypeScript for VSCode. The TypeScript language service powers language features for both TypeScript and JavaScript code.
Read more >
Typescript language services not working periodically
Hi,. Periodically, all feature of language service for typescript just stop working and get back after a while. All collapsed code decollapsed (and...
Read more >
Announcing TypeScript 4.9 RC - Microsoft Developer Blogs
Today we're excited to announce our Release Candidate (RC) of TypeScript 4.9. Between now and the stable release of TypeScript 4.9, we expect ......
Read more >
Using Visual Studio Code | Manual - Deno
If you look at the source of the diagnostic you are probably going to see a ts(2691) . The ts indicates that it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found