Skip to content

TS Server fatal error: Cannot read properties of undefined (reading 'sourceFile') #1102

@zeltag

Description

@zeltag

Type: Bug

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

TypeScript Version: 5.6.3

Steps to reproduce crash

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.

Code OSS version: Firebase Studio 1.94.2-cde (306dd5fcfc76a3f6dfbb9b2014b6a3c1880a180b, 2025-06-17T20:05:16.014Z)
OS version:
Modes:

System Info: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36Extensions: none

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions