Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TSLint: Language service execution timeout in WebStorm

I'm currently using WebStorm (2017.2.4) on MacOS Sierra and this pop-up shows up once in a while:

Error message

My colleagues and I have exactly the same TSLint config and code style defined in WebStorm. The problem occurs only on my machine.

I've tried to:

  • invalided caches and restart
  • reinstall node packages and npm

With no success.

like image 943
Andreew4x4 Avatar asked Sep 16 '17 10:09

Andreew4x4


1 Answers

I'm not sure whether this will solve your problem or not.

Enable the plugin in your tsconfig.json file:

{
  "compilerOptions": {
    "plugins": [
      { "name": "tslint-language-service"}
    ]
  }
}

For more detail, please go to this URL: https://www.npmjs.com/package/tslint-language-service

like image 188
sarath Avatar answered Sep 30 '22 07:09

sarath