Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ts server crash (yarn 4) #212523

Closed
VRuzhentsov opened this issue May 11, 2024 · 1 comment
Closed

ts server crash (yarn 4) #212523

VRuzhentsov opened this issue May 11, 2024 · 1 comment
Assignees

Comments

@VRuzhentsov
Copy link

VRuzhentsov commented May 11, 2024

Type: Bug

Same setup on 2 workstations (same wsl remote tunneled server), but root workstation is working ok, and remote client - TS server is crashing "The JS/TS language service immediately crashed 5 times. The service will not be restarted.". I even can't start logging ts server "TS server has not started logging.". As a reference theoretical fix might be found here - #206137

But that part is not working. I configured deeply with .vscode/tsconfig.json & in the same way .code-workspace settings.

VS Code version: Code 1.89.1 (dc96b83, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2

settings.json
{
  "typescript.tsdk": ".yarn/sdks/typescript/lib",
  "typescript.enablePromptUseWorkspaceTsdk": true,
  "typescript.tsserver.experimental.enableProjectDiagnostics": true,
  "search.exclude": {
    "**/.yarn": true,
    "**/.pnp.*": true
  },
  "npm.packageManager": "yarn",
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit",
    "source.fixAll": "explicit"
  },
  "eslint.enable": true,
  "eslint.runtime": "node",
  "eslint.experimental.useFlatConfig": false, // using "unsupported api" option
  "eslint.workingDirectories": [
    // "apps/bot-client",
    {
      "pattern": "./apps/*/",
      // "!cwd": true,
      "mode": "auto"
    }
  ],
  "eslint.nodePath": ".yarn/sdks",
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ],
  "prettier.prettierPath": ".yarn/sdks/prettier/index.cjs"
}
tsserver.log
Info 0    [18:03:34.604] Starting TS Server
Info 1    [18:03:34.604] Version: 5.4.5
Info 2    [18:03:34.604] Arguments: /home/vruzhentsov/.vscode/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/node /home/vruzhentsov/piramidon/.yarn/sdks/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /tmp/vscode-typescript1000/c4ba8d8ed763d8177588/tscancellation-a2ec47d34e8ec76b3681.tmp* --logVerbosity verbose --logFile /home/vruzhentsov/.vscode-server/data/logs/20240511T164915/exthost26/vscode.typescript-language-features/tsserver-log-3imvZZ/tsserver.log --locale en --noGetErrOnBackgroundUpdate --canUseWatchEvents --validateDefaultNpmLocation --useNodeIpc
Info 3    [18:03:34.604] Platform: linux NodeVersion: v18.18.2 CaseSensitive: true
Info 4    [18:03:34.604] ServerMode: undefined hasUnknownServerMode: undefined
Info 5    [18:03:34.609] Binding...
Info 6    [18:03:34.617] FileWatcher:: Added:: WatchInfo: /home/vruzhentsov/piramidon/.pnp.cjs 250 undefined WatchType: Config file
System Info
Item Value
CPUs Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.85GB (5.83GB free)
Process Argv --crash-reporter-id 202d6dec-0bc8-4b5c-bac9-6d850bccbe2c
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu (will-main-pc)
OS Linux x64 5.15.90.1-microsoft-standard-WSL2
CPUs 13th Gen Intel(R) Core(TM) i5-13600K (8 x 3494)
Memory (System) 11.69GB (3.49GB free)
VM 0%
Extensions (19)
Extension Author (truncated) Version
remote-wsl ms- 0.88.2
remote-explorer ms- 0.4.3
remote-server ms- 1.5.1
vscode-zipfs arc 3.0.0
vscode-eslint dba 2.4.4
githistory don 0.6.20
gitlens eam 14.9.1
prettier-vscode esb 10.4.0
code-runner for 0.12.2
copilot Git 1.190.0
copilot-chat Git 0.15.2024043005
vscode-github-actions git 0.26.2
git-graph mhu 1.30.0
vscode-docker ms- 1.29.1
sftp Nat 1.16.3
vscode-jest Ort 6.2.5
prisma Pri 5.13.1
gpt-pilot-vs-code pyt 0.1.17
vs-code-prettier-eslint rve 6.0.0
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
tftest:31042121
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
showvideoc:31016891
chatpanelt:31018789
dsvsc021:30996838
jg8ic977:31013176
pythoncenvpt:31043157
a69g1124:31038041
pythonprt:31039817
dwnewjupytercf:31039676

@VRuzhentsov
Copy link
Author

fixed with explicit

{
  "typescript.tsserver.experimental.useVsCodeWatcher": false
}

Reference: #212042

@microsoft microsoft locked and limited conversation to collaborators Jun 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants