Skip to content

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

@mojadollc

Description

@mojadollc

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 (d87527082ec9a35531fef161cd6fc3d458da2416, 2025-04-08T18:57:11.837Z)
OS version:
Modes:

System Info: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.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