-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 fatal error: Cannot read property 'flags' of undefined #47180
Comments
/assign @mjbvz |
I also get the same error when change TS version to 4.5.4 |
Can you please share a project that triggers this issue? |
This can happen during symbol merging when initialising the checker, because global types aren't set until after symbols are merged. May stop the crashes in #47179, #47181, #47180. Does not address the underlying problem of needing to resolve aliases, and therefore names, during symbol merging when initialising the checker.
Whe I try to report issue, I receive popup with text: Before reporting an issue, please update the workspace to use the latest stable TypeScript release to make sure the bug has not already been fixed. |
no I can't |
I can share just a part of package.json |
Does this help? |
Should be fixed by #47348 |
Issue Type: Bug
❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 4.6.0-dev.20211216
Steps to reproduce crash
1.
2.
3.
TS Server Log
❗️Server logging disabled. To help us fix crashes like this, please enable logging by setting:
After enabling this setting, future crash reports will include the server log.
TS Server Error Stack
Server:
semantic
VS Code version: Code 1.63.1 (fe719cd3e5825bf14e14182fddeb88ee8daf044f, 2021-12-14T02:13:54.292Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
Remote OS version: Linux x64 5.4.72-microsoft-standard-WSL2
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (34)
A/B Experiments
The text was updated successfully, but these errors were encountered: