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.

TypeScript service often gets stuck when the plugin is enabled

See original GitHub issue

I don’t yet know the cause or how to reproduce it; but when using the plugin in my work project, the typescript service may get stuck while typing after showing some lint errors and then never update again until it is restarted. It’s not just the lint messages that get stuck, but the actual ts compiler service; unused variable hints, autocomplete, etc stop working, or rather, get stuck in a state where it’s as if they’re seeing an old snapshot of the file being edited.

{
  "name": "typescript-tslint-plugin",
  "jsEnable": true,
  "ignoreDefinitionFiles": false,
  "suppressWhileTypeErrorsPresent": true
}

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:12
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
vladeckcommented, Jun 2, 2019

Still an issue with typescript 3.5.1 and typescript-tslint-plugin 0.4.0. Additional info: happens a lot when editing .tsx (React) files.

2reactions
VishalMadhvanicommented, Feb 20, 2019

I also saw this issue multiple times and eventually switched back to the old extension. Since it has not been deprecated, switch back to using this but it seems the issues have not been resolved.

So far it seems quite random in nature and so trying to provide repro steps is difficult. Can anyone advise (@mjbvz ) maybe provide details on how to collect information when the crash occurs? i.e stack traces, or additional logging modes?

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode - TypeScript language service died unexpectedly 5 ...
Disabling the "JavaScript and TypeScript Nightly" extension worked for me. The error always said that the workspace was ...
Read more >
Freezes in TypeScript projects because of slow tsservice ...
I'm working in a project with JS and TS. It has reached a point where it's almost impossible to work without a 10-30...
Read more >
Documentation - TypeScript 3.9
If you've been stuck on older versions of TypeScript due to issues around ... they misuse this function, and JavaScript users will get...
Read more >
WordPress Stuck in Maintenance Mode? Here is What to Do
Preventing your site from getting stuck in WordPress maintenance mode · Always make sure that your themes and plugins are compatible · Don't ......
Read more >
Troubleshooting Guide - Pulumi
The service makes sure that only one person has a lease active at a time. If you get this error message, this means...
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