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.

TS functionality keeps dying on large project

See original GitHub issue

Issue Type: Bug

VSCode keeps trying to “Initializing JS/TS language features”, but fails consistently

I’m working on a large backend typescript project in Amazon though

VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:44:30.902Z) OS version: Darwin x64 19.6.0

System Info
Item Value
CPUs Intel® Core™ i7-7660U CPU @ 2.50GHz (4 x 2500)
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) 12, 15, 23
Memory (System) 16.00GB (0.27GB free)
Process Argv –crash-reporter-id ff3e41e0-a3a4-4dad-a1e8-0e6d71d3b908
Screen Reader no
VM 0%
Extensions (8)
Extension Author (truncated) Version
Bookmarks ale 13.0.4
gitlens eam 11.4.1
vscode-graphql Gra 0.3.16
dotenv mik 1.0.1
vscode-docker ms- 1.13.0
remote-containers ms- 0.177.2
sqltools mtx 0.23.0
sqltools-driver-pg mtx 0.2.0
A/B Experiments

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

mjbvzcommented, Jul 1, 2021

Is this a very large project? SIGABRT suggests that the server process may be running out of memory. You can also try configuring typescript.tsserver.maxTsServerMemory

mjbvzcommented, Jun 15, 2021

Did you have a chance to test using the most recent insiders build? It should print more info when the server exits

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
Some projects moving away from TypeScript - Meteor forums
Same here, but coming from Java, I do think TS is extremely useful for large complex codebases with multiple people working on it,...
Read more >
8 Tips for Converting That Big Project to TypeScript
Since the TS compiler can understand structures and constants, it can generate the following type declaration for the createPerson function.
Read more >
Converting a big existing project to typescript slowly - Reddit
Rename all files to .ts and make a very permissive tsconfig configuration. Problem is the millions of warnings in compile time and kind...
Read more >
Do you feel that big JavaScript projects without type-checking ...
js, renaming it to myProg.ts, and gradually start adding TypeScript features. You can declare types of variables and signatures of functions, and, by...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found