Skip to content

When this repository is opened from a git worktree path, the Excalidraw VS Code extension fails to open .excalidraw files even though the files exist on disk and contain valid JSON. #197

@architjain798

Description

@architjain798

Problem

Opening .excalidraw files from a repository checked out as a git worktree fails in VS Code with a file resolution error, even though the file exists on disk and contains valid JSON.

Example worktree path:

/Users/architjain/developer/project/project.worktrees/develop

Example file:

packages/business-rules-architecture.excalidraw

Error seen:

Unable to resolve nonexistent file '/Users/architjain/developer/project/test.worktrees/develop/packages/business-rules-architecture.excalidraw'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions