standard / vscode-standard

VS Code extension for JavaScript Standard Style (`standard`) with automatic fixing
https://marketplace.visualstudio.com/items?itemName=standard.vscode-standard
MIT License
123 stars 24 forks source link

The TypeScript Standard Style server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information. #540

Open pascencio opened 4 weeks ago

pascencio commented 4 weeks ago

Here's what I did

I have a project with a workspace with 6 sub folders that have typescripts projects. Each project have ts-standard installed.

Sometimes, when vscode starts up, I get this error:

The TypeScript Standard Style server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

Its weird, but after 5 restart the elapsed time is lower than 1 minute.

All crashes happen because the plugin don't detect the tsconfig.json file:

[Info  - 18:18:15] TypeScript Standard Style library loaded from: /home/someuser/somepath/somesubpath/node_modules/ts-standard/index.js
Unable to locate the project file. A project file (tsconfig.json or tsconfig.eslint.json)

Obviusly the file is there.

What I expected to happen

No TypeScript Standard Style restarts and stop

What seems to have happened

├── @aws-sdk/client-s3@3.670.0
├── @aws-sdk/client-ssm@3.670.0
├── @codegenie/serverless-express@4.15.0
├── @nestjs/common@10.4.4
├── @nestjs/config@3.2.3
├── @nestjs/core@10.4.4
├── @nestjs/platform-express@10.4.4
├── @nestjs/swagger@7.4.2
├── @types/aws-lambda@8.10.145
├── @types/express@4.17.21
├── @types/node@22.5.4
├── class-transformer@0.5.1
├── class-validator@0.14.1
├── snazzy@9.0.0
├── ts-lib@0.0.5
├── ts-node@10.9.2
├── ts-standard@12.0.2
├── turbowatch@2.29.4
└── typescript@5.5.4