Skip to content

TS Server fatal error: Debug Failure. False expression. #167313

@acktax

Description

@acktax

Type: Bug

❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️

TypeScript Version: 4.8.4

Steps to reproduce crash

  1. Click on .tsx file
  2. Crashed

Global TS Server Plugins

  • typescript-deno-plugin
  • @twind/typescript-plugin

TS Server Log
❗️ Server logging disabled. To help us fix crashes like this, please enable logging by setting:

"typescript.tsserver.log": "verbose"

After enabling this setting, future crash reports will include the server log.

TS Server Error Stack
Server: semantic

Error: Debug Failure. False expression.
    at watchFailedLookupLocationOfResolution (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:123160:22)
    at Array.forEach (<anonymous>)
    at watchFailedLookupLocationOfNonRelativeModuleResolutions (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:123268:29)
    at Map.forEach (<anonymous>)
    at Object.startCachingPerDirectoryResolution (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:122846:50)
    at Project.updateGraphWorker (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:172364:38)
    at Project.updateGraph (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:172293:42)
    at ProjectService.assignOrphanScriptInfoToInferredProject (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:174643:25)
    at ProjectService.assignProjectToOpenedScriptInfo (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:176335:26)
    at /usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:176609:97
    at Object.flatMap (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:525:25)
    at ProjectService.applyChangesInOpenFiles (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:176609:41)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:177982:46)
    at /usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:180174:96
    at Session.executeWithRequestId (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:180165:28)
    at Session.executeCommand (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:180174:41)
    at Session.onMessage (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:180202:35)
    at process.<anonymous> (/usr/lib/code/extensions/node_modules/typescript/lib/tsserver.js:184368:31)
    at process.emit (node:events:526:28)
    at emit (node:internal/child_process:938:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:84:21)

VS Code version: Code - OSS 1.73.1 (6261075, 2022-11-14T09:01:30.462Z)
OS version: Linux x64 6.0.9-zen1-1-zen
Modes:
Sandboxed: No

System Info
Item Value
CPUs AMD Ryzen 7 3700X 8-Core Processor (16 x 2409)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 0, 0, 1
Memory (System) 15.54GB (7.44GB free)
Process Argv
Screen Reader no
VM 0%
DESKTOP_SESSION undefined
XDG_CURRENT_DESKTOP undefined
XDG_SESSION_DESKTOP undefined
XDG_SESSION_TYPE tty
Extensions (29)
Extension Author (truncated) Version
vscode-tailwindcss bra 0.9.1
better-toml bun 0.3.2
bracket-pair-colorizer-2 Coe 0.2.4
vscode-deno den 3.14.1
texlab efo 4.3.2
prettier-vscode esb 9.9.0
shell-format fox 7.2.2
vscode-pull-request-github Git 0.54.1
test-adapter-converter hbe 0.1.6
vscode-test-explorer hbe 2.21.1
svg joc 1.4.23
git-graph mhu 1.30.0
pack-arduino mpt 0.1.0
vscode-docker ms- 1.22.2
vscode-kubernetes-tools ms- 1.3.11
python ms- 2022.18.2
rust-extension-pack pin 0.2.0
material-icon-theme PKi 4.22.0
material-product-icons PKi 1.4.1
ansible red 1.0.90
vscode-xml red 0.22.0
vscode-yaml red 1.10.1
live-sass rit 3.0.0
LiveServer rit 5.7.9
rust-analyzer rus 0.3.1293
twind-intellisense sas 0.2.1
crates ser 0.5.10
vscode-rust-test-adapter Swe 0.11.1
material-theme zhu 3.15.6

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions