Open esegall-gbg opened 3 months ago
Please try collecting the TS Server log from the crashed instance:
"typescript.tsserver.log": "verbose"
TypeScript
section of the output panelAt the very top, find the first line that prints to path to the semantic error log file. It should look something like:
[Info - 19:54:59.247] <semantic> Log file: /Users/matb/Library/Application Support/Code - Insiders/logs/20200213T104930/exthost55/vscode.typescript-language-features/tsserver-log-ZT2zau/tsserver.log
That file contains the typescript logs.
Look through that log file for the first error or stack trace you see. If you can share the log, I can also take a look to see if anything stands out
⚠️Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this
Here's the entire typescript log. I don't see anything about a log file:
2024-04-29 17:31:54.055 [info] Starting TS Server 2024-04-29 17:31:54.055 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js 2024-04-29 17:31:54.055 [info] Using Node installation from /usr/local/bin/node to run TS Server 2024-04-29 17:31:54.055 [info] <syntax> Forking... 2024-04-29 17:31:54.055 [info] <syntax> Starting... 2024-04-29 17:31:54.055 [info] <semantic> Forking... 2024-04-29 17:31:54.055 [info] <semantic> Starting... 2024-04-29 17:31:54.055 [error] TSServer exited. Code: 1. Signal: null 2024-04-29 17:31:54.055 [info] Starting TS Server 2024-04-29 17:31:54.055 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js 2024-04-29 17:31:54.055 [info] Using Node installation from /usr/local/bin/node to run TS Server 2024-04-29 17:31:54.055 [info] <syntax> Forking... 2024-04-29 17:31:54.055 [info] <syntax> Starting... 2024-04-29 17:31:54.055 [info] <semantic> Forking... 2024-04-29 17:31:54.055 [info] <semantic> Starting... 2024-04-29 17:31:54.055 [error] TSServer exited. Code: 1. Signal: null 2024-04-29 17:31:54.055 [info] Starting TS Server 2024-04-29 17:31:54.055 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js 2024-04-29 17:31:54.055 [info] Using Node installation from /usr/local/bin/node to run TS Server 2024-04-29 17:31:54.055 [info] <syntax> Forking... 2024-04-29 17:31:54.055 [info] <syntax> Starting... 2024-04-29 17:31:54.055 [info] <semantic> Forking... 2024-04-29 17:31:54.055 [info] <semantic> Starting... 2024-04-29 17:31:54.114 [error] TSServer exited. Code: 1. Signal: null 2024-04-29 17:31:54.114 [info] Starting TS Server 2024-04-29 17:31:54.114 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js 2024-04-29 17:31:54.114 [info] Using Node installation from /usr/local/bin/node to run TS Server 2024-04-29 17:31:54.114 [info] <syntax> Forking... 2024-04-29 17:31:54.114 [info] <syntax> Starting... 2024-04-29 17:31:54.114 [info] <semantic> Forking... 2024-04-29 17:31:54.115 [info] <semantic> Starting... 2024-04-29 17:31:54.231 [error] TSServer exited. Code: 1. Signal: null 2024-04-29 17:31:54.231 [info] Starting TS Server 2024-04-29 17:31:54.231 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js 2024-04-29 17:31:54.231 [info] Using Node installation from /usr/local/bin/node to run TS Server 2024-04-29 17:31:54.231 [info] <syntax> Forking... 2024-04-29 17:31:54.231 [info] <syntax> Starting... 2024-04-29 17:31:54.231 [info] <semantic> Forking... 2024-04-29 17:31:54.231 [info] <semantic> Starting... 2024-04-29 17:31:54.355 [error] TSServer exited. Code: 1. Signal: null 2024-04-29 17:31:54.355 [info] Starting TS Server 2024-04-29 17:31:54.355 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js 2024-04-29 17:31:54.355 [info] Using Node installation from /usr/local/bin/node to run TS Server 2024-04-29 17:31:54.355 [info] <syntax> Forking... 2024-04-29 17:31:54.355 [info] <syntax> Starting... 2024-04-29 17:31:54.355 [info] <semantic> Forking... 2024-04-29 17:31:54.355 [info] <semantic> Starting... 2024-04-29 17:31:54.466 [error] TSServer exited. Code: 1. Signal: null
Did you also set Set "typescript.tsserver.log": "verbose"
in your VS Code settings?
Yes. I hope I did it correctly. I asked GitHub Copilot how to do it. Here is my settings.json:
{ "version": "2.0.0", "tasks": [ { "type": "typescript", "tsconfig": "tsconfig.json", "option": "watch", "problemMatcher": [ "$tsc-watch" ], "group": { "kind": "build", "isDefault": true } } ], "typescript.tsserver.log": "verbose" }
From: Matt Bierner @.> Date: Monday, April 29, 2024 at 8:29 PM To: microsoft/vscode @.> Cc: Edward Segall @.>, Author @.> Subject: Re: [microsoft/vscode] The JS/TS language service immediately crashed 5 times. The service will not be restarted. (Issue #208446)
Did you also set Set "typescript.tsserver.log": "verbose" in your VS Code settings?
— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/208446#issuecomment-2083941178, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZNM74LTUI7MYY72G4MZ2HTY73QWXAVCNFSM6AAAAABFDZUOJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBTHE2DCMJXHA. You are receiving this because you authored the thread.Message ID: @.***> GB Group plc ('GBG') Registered Address: The Foundation, Herons Way, Chester, CH4 9GB Registered in England number: 2415211 VAT number: 539 7162 18
DISCLAIMER: Please visit www.gbgplc.com/legal/email-disclaimers This email message has been delivered safely and archived online by Mimecast. For more information please visit www.mimecast.co.uk
Matt,
I tried changing the log setting via the settings UI, and now the TSServer log file location is revealed: The output window says it’s in /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-DKnE76/tsserver.log. However, that folder (…/tsserver-log-DKnE76/) is empty. It has many sibling folders create at the same time, but all are empty:
m-esegall:server esegall$ ls -lR '/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/'
total 24
-rw-r--r-- 1 esegall staff 9618 Apr 30 15:14 TypeScript.log
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-01xZWf
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-0EPkPn
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-0pHlLM
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-22bt45
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-4coMiY
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-5RiGye
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-9Vev5r
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-DKnE76
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-IurISV
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-KSvIFe
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-KnP6fr
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-Ky6x6d
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-Mi73X8
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-RJVaJ9
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-W2iOah
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-Z6RLav
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-fvVjEi
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-jCBrzg
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-jZfy6T
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-q0Pvx0
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-rBbyz7
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-wQPrn1
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-xIgaed
drwx------ 2 esegall staff 64 Apr 30 15:12 tsserver-log-xOLWQZ
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-01xZWf:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-0EPkPn:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-0pHlLM:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-22bt45:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-4coMiY:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-5RiGye:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-9Vev5r:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-DKnE76:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-IurISV:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-KSvIFe:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-KnP6fr:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-Ky6x6d:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-Mi73X8:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-RJVaJ9:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-W2iOah:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-Z6RLav:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-fvVjEi:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-jCBrzg:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-jZfy6T:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-q0Pvx0:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-rBbyz7:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-wQPrn1:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-xIgaed:
total 0
/Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features//tsserver-log-xOLWQZ:
total 0
m-esegall:server esegall$
From: Edward Segall @.> Date: Tuesday, April 30, 2024 at 8:53 AM To: microsoft/vscode @.>, microsoft/vscode @.> Cc: Author @.> Subject: Re: [microsoft/vscode] The JS/TS language service immediately crashed 5 times. The service will not be restarted. (Issue #208446) Yes. I hope I did it correctly. I asked GitHub Copilot how to do it. Here is my settings.json:
{ "version": "2.0.0", "tasks": [ { "type": "typescript", "tsconfig": "tsconfig.json", "option": "watch", "problemMatcher": [ "$tsc-watch" ], "group": { "kind": "build", "isDefault": true } } ], "typescript.tsserver.log": "verbose" }
From: Matt Bierner @.> Date: Monday, April 29, 2024 at 8:29 PM To: microsoft/vscode @.> Cc: Edward Segall @.>, Author @.> Subject: Re: [microsoft/vscode] The JS/TS language service immediately crashed 5 times. The service will not be restarted. (Issue #208446)
Did you also set Set "typescript.tsserver.log": "verbose" in your VS Code settings?
— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/208446#issuecomment-2083941178, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZNM74LTUI7MYY72G4MZ2HTY73QWXAVCNFSM6AAAAABFDZUOJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBTHE2DCMJXHA. You are receiving this because you authored the thread.Message ID: @.***> GB Group plc ('GBG') Registered Address: The Foundation, Herons Way, Chester, CH4 9GB Registered in England number: 2415211 VAT number: 539 7162 18
DISCLAIMER: Please visit www.gbgplc.com/legal/email-disclaimers This email message has been delivered safely and archived online by Mimecast. For more information please visit www.mimecast.co.uk
Contents of Typescript.log:
m-esegall:vscode.typescript-language-features esegall$ cat TypeScript.log
2024-04-30 15:12:05.816 [info] Starting TS Server
2024-04-30 15:12:05.816 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js
2024-04-30 15:12:05.816 [info] Using Node installation from /usr/local/bin/node to run TS Server
2024-04-30 15:12:05.816 [info] <syntax> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-DKnE76/tsserver.log
2024-04-30 15:12:05.816 [info] <syntax> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-IurISV
2024-04-30 15:12:05.816 [info] <syntax> Forking...
2024-04-30 15:12:05.816 [info] <syntax> Starting...
2024-04-30 15:12:05.816 [info] <semantic> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-0pHlLM/tsserver.log
2024-04-30 15:12:05.816 [info] <semantic> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-wQPrn1
2024-04-30 15:12:05.816 [info] <semantic> Forking...
2024-04-30 15:12:05.816 [info] <semantic> Starting...
2024-04-30 15:12:06.246 [error] TSServer exited. Code: 1. Signal: null
2024-04-30 15:12:06.246 [info] TSServer log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-0pHlLM/tsserver.log
2024-04-30 15:12:06.246 [info] Starting TS Server
2024-04-30 15:12:06.246 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js
2024-04-30 15:12:06.246 [info] Using Node installation from /usr/local/bin/node to run TS Server
2024-04-30 15:12:06.246 [info] <syntax> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-Ky6x6d/tsserver.log
2024-04-30 15:12:06.246 [info] <syntax> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-rBbyz7
2024-04-30 15:12:06.246 [info] <syntax> Forking...
2024-04-30 15:12:06.246 [info] <syntax> Starting...
2024-04-30 15:12:06.246 [info] <semantic> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-KnP6fr/tsserver.log
2024-04-30 15:12:06.246 [info] <semantic> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-5RiGye
2024-04-30 15:12:06.246 [info] <semantic> Forking...
2024-04-30 15:12:06.246 [info] <semantic> Starting...
2024-04-30 15:12:06.833 [error] TSServer exited. Code: 1. Signal: null
2024-04-30 15:12:06.833 [info] TSServer log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-KnP6fr/tsserver.log
2024-04-30 15:12:06.833 [info] Starting TS Server
2024-04-30 15:12:06.833 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js
2024-04-30 15:12:06.833 [info] Using Node installation from /usr/local/bin/node to run TS Server
2024-04-30 15:12:06.833 [info] <syntax> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-xIgaed/tsserver.log
2024-04-30 15:12:06.833 [info] <syntax> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-xOLWQZ
2024-04-30 15:12:06.834 [info] <syntax> Forking...
2024-04-30 15:12:06.834 [info] <syntax> Starting...
2024-04-30 15:12:06.834 [info] <semantic> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-4coMiY/tsserver.log
2024-04-30 15:12:06.834 [info] <semantic> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-RJVaJ9
2024-04-30 15:12:06.834 [info] <semantic> Forking...
2024-04-30 15:12:06.834 [info] <semantic> Starting...
2024-04-30 15:12:06.922 [error] TSServer exited. Code: 1. Signal: null
2024-04-30 15:12:06.922 [info] TSServer log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-4coMiY/tsserver.log
2024-04-30 15:12:06.922 [info] Starting TS Server
2024-04-30 15:12:06.922 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js
2024-04-30 15:12:06.922 [info] Using Node installation from /usr/local/bin/node to run TS Server
2024-04-30 15:12:06.922 [info] <syntax> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-jCBrzg/tsserver.log
2024-04-30 15:12:06.922 [info] <syntax> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-W2iOah
2024-04-30 15:12:06.922 [info] <syntax> Forking...
2024-04-30 15:12:06.922 [info] <syntax> Starting...
2024-04-30 15:12:06.923 [info] <semantic> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-fvVjEi/tsserver.log
2024-04-30 15:12:06.923 [info] <semantic> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-22bt45
2024-04-30 15:12:06.923 [info] <semantic> Forking...
2024-04-30 15:12:06.923 [info] <semantic> Starting...
2024-04-30 15:12:07.003 [error] TSServer exited. Code: 1. Signal: null
2024-04-30 15:12:07.003 [info] TSServer log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-fvVjEi/tsserver.log
2024-04-30 15:12:07.003 [info] Starting TS Server
2024-04-30 15:12:07.003 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js
2024-04-30 15:12:07.004 [info] Using Node installation from /usr/local/bin/node to run TS Server
2024-04-30 15:12:07.004 [info] <syntax> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-01xZWf/tsserver.log
2024-04-30 15:12:07.004 [info] <syntax> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-KSvIFe
2024-04-30 15:12:07.004 [info] <syntax> Forking...
2024-04-30 15:12:07.004 [info] <syntax> Starting...
2024-04-30 15:12:07.004 [info] <semantic> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-jZfy6T/tsserver.log
2024-04-30 15:12:07.004 [info] <semantic> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-q0Pvx0
2024-04-30 15:12:07.004 [info] <semantic> Forking...
2024-04-30 15:12:07.004 [info] <semantic> Starting...
2024-04-30 15:12:07.100 [error] TSServer exited. Code: 1. Signal: null
2024-04-30 15:12:07.100 [info] TSServer log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-jZfy6T/tsserver.log
2024-04-30 15:12:07.100 [info] Starting TS Server
2024-04-30 15:12:07.100 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js
2024-04-30 15:12:07.100 [info] Using Node installation from /usr/local/bin/node to run TS Server
2024-04-30 15:12:07.100 [info] <syntax> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-0EPkPn/tsserver.log
2024-04-30 15:12:07.100 [info] <syntax> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-Z6RLav
2024-04-30 15:12:07.100 [info] <syntax> Forking...
2024-04-30 15:12:07.101 [info] <syntax> Starting...
2024-04-30 15:12:07.101 [info] <semantic> Log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-9Vev5r/tsserver.log
2024-04-30 15:12:07.101 [info] <semantic> Trace directory: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-Mi73X8
2024-04-30 15:12:07.101 [info] <semantic> Forking...
2024-04-30 15:12:07.101 [info] <semantic> Starting...
2024-04-30 15:12:07.183 [error] TSServer exited. Code: 1. Signal: null
2024-04-30 15:12:07.183 [info] TSServer log file: /Users/esegall/Library/Application Support/Code/logs/20240430T151140/window1/exthost/vscode.typescript-language-features/tsserver-log-9Vev5r/tsserver.log
m-esegall:vscode.typescript-language-features esegall$
Matt, I'm still hoping to be able to use the JS/TS language service in VS Code. Do you have any further suggestions? Without it, I'm unable to navigate directly to variable and type definitions, implementations, references, etc. My workaround is to keep IntelliJ Idea running at the same time as VS Code and to go back and forth as needed. That seems like it should be unnecessary. I would like to have the option to use VS Code productively but if this issue isn't resolved I'm thinking of just going back to IntelliJ.
@esegall-gbg Can you please disabling experimental useVsCodeWatcher option in VSCode and try now.
TypeScript › Tsserver › Experimental: Use Vs Code Watcher "typescript.tsserver.experimental.useVsCodeWatcher": false
This release could be the reason https://code.visualstudio.com/updates/v1_89#_typescript
@esegall-gbg Does this reproduce in the latest VS Code insiders build? I think you may be running into https://github.com/microsoft/vscode/issues/204678
You can also try switching off of using your own node version to see if that fixes it
No, it works correctly with that build. Thank you!!!
I don’t remember telling VS Code to use my own node, but perhaps I did.
In any case, I appreciate your following up on this, Matt. Thanks again!
From: Matt Bierner @.> Date: Thursday, May 23, 2024 at 5:51 PM To: microsoft/vscode @.> Cc: Edward Segall @.>, Mention @.> Subject: Re: [microsoft/vscode] The JS/TS language service immediately crashed 5 times. The service will not be restarted. (Issue #208446)
@esegall-gbghttps://github.com/esegall-gbg Does this reproduce in the latest VS Code insiders buildhttps://code.visualstudio.com/insiders/? I think you may be running into #204678https://github.com/microsoft/vscode/issues/204678
You can also try switching off of using your own node version to see if that fixes it
— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/208446#issuecomment-2128076474, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZNM74NLMUP7UQYENXYW4GLZDZQHDAVCNFSM6AAAAABFDZUOJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRYGA3TMNBXGQ. You are receiving this because you were mentioned.Message ID: @.***> GB Group plc ('GBG') Registered Address: The Foundation, Herons Way, Chester, CH4 9GB Registered in England number: 2415211 VAT number: 539 7162 18
DISCLAIMER: Please visit www.gbgplc.com/legal/email-disclaimers This email message has been delivered safely and archived online by Mimecast. For more information please visit www.mimecast.co.uk
@esegall-gbgVSCode에서 실험적인 useVsCodeWatcher 옵션을 비활성화하고 지금 시도해 볼 수 있습니까?
TypeScript › Tsserver › 실험적: Vs Code Watcher 사용 "typescript.tsserver.experimental.useVsCodeWatcher": false
이번 릴리스가 https://code.visualstudio.com/updates/v1_89#_typescript 이유일 수 있습니다.
I was experiencing the same problem. It didn't work all of a sudden, but there was an update. I turned off that function and tried again, and it worked fine
Does this issue occur when all extensions are disabled?: Yes/No No
Steps to Reproduce:
Additional info:
Version: 1.87.2 (Universal) Commit: 863d2581ecda6849923a2118d93a088b0745d9d6 Date: 2024-03-08T15:21:31.043Z Electron: 27.3.2 ElectronBuildId: 26836302 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Darwin x64 23.4.0
Hardware: MacBook Pro, 16-inch, 2019
Please note also: I was unable to report this bug using the "Report Issue" dialog, because: