-
Notifications
You must be signed in to change notification settings - Fork 12.8k
TS Server fatal error: Cannot read property 'flags' of undefined #46587
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
Comments
Similar call stack to #45874 but still happening in the latest TS nightly |
Unlike #45874, this doesn't go through a code path that's new to 4.5, so is likely not a recent regression. |
I think i'm running into this with https://github.com/getsentry/sentry on typescript v4.5.2 We're likely going to revert the TS upgrade, can check out this commit getsentry/sentry@22f4131 vscode info
the ts server logs
this is the file https://github.com/getsentry/sentry/blob/master/static/app/views/organizationGroupDetails/actions/index.tsx TS Server Error Stack
|
Yes, that repros for me—thank you @scttcper! 🙌 |
Issue Type: Bug
❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 4.5.0-dev.20211028
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.61.2 (6cba118ac49a1b88332f312a8f67186f7f3c1643, 2021-10-19T15:49:28.381Z)
OS version: Darwin x64 20.3.0
Restricted Mode: No
System Info
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (20)
(2 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: