0

When starting tsserver vs code fails although it picks up the right version.

2023-08-25 16:18:16.644 [info] Starting TS Server undefined
2023-08-25 16:18:16.644 [info] Using tsserver from: c:\Users\Stratos\Desktop\QA\repos\lh\cypress\node_modules\typescript\lib\tsserver.js undefined
2023-08-25 16:18:16.644 [info] <syntax> Forking...
2023-08-25 16:18:16.644 [info] <syntax> Starting...
2023-08-25 16:18:16.644 [info] <semantic> Forking...
2023-08-25 16:18:16.644 [info] <semantic> Starting...
2023-08-25 16:18:16.645 [error] TSServer exited. Code: null. Signal: SIGTERM

enter image description here

From the settings.json:

    "typescript.tsdk": "c:\\Users\\Stratos\\Desktop\\QA\\repos\\lh\\cypress\\node_modules\\typescript\\lib",

Actual file path:

C:\Users\Stratos\Desktop\QA\repos\lh\cypress\node_modules\typescript\lib\tsserver.js

Stratos Ion
  • 504
  • 3
  • 18
  • related: https://github.com/microsoft/vscode/issues/161291 and https://github.com/microsoft/vscode/issues/171156. please follow the steps in https://github.com/microsoft/vscode/issues/171156#issuecomment-1385850632. If you raise an issue ticket of your own, please ping me with a link to it. – starball Aug 25 '23 at 17:04
  • @starball thank you, issue: https://github.com/microsoft/vscode/issues/191441 – Stratos Ion Aug 28 '23 at 08:59
  • the VS Code maintainers commented on your issue ticket and asked for more info. I suggest you speedily respond with that info. Issue tickets that are waiting on info too long will get get closed. – starball Sep 01 '23 at 18:24

0 Answers0