Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

getting weird error - EEXIST: file already exists, open '/x/y/z.lock' #26

@ORESoftware

Description

@ORESoftware

When I calllockfile.lock(z.lock)on a file that already exists, it is giving me this error in the callback

EEXIST: file already exists, open '/x/y/z.lock'

this is weird, because I thought the purpose of this lib was to wait for the file to be deleted and then reacquire the lock.

so confused about this one, any idea what it might be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions