Skip to content

Renaming a file throws this error: no such file or directory, lstat '<path>' at Object.lstatSync (node:fs:1642:25) #4271

Description

@safisa

Hi,

When I rename a file in my workspace (any file), I see this error in the backend log:

Error: ENOENT: no such file or directory, lstat '<folder>/README.md'
    at Object.lstatSync (node:fs:1642:25)

It seems that the rename handler uses lstatSync on the new old file after it has been renamed (no longer exists).

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions