Skip to content

Cannot read property 'updateTimeout' of undefined #113

@Rinse12

Description

@Rinse12

Ocasionally I get this error,

 Uncaught TypeError: Cannot read properties of undefined (reading 'updateTimeout')
    at updateLock (node_modules/proper-lockfile/lib/lockfile.js:104:14)
    at /home/user2/Nextcloud/projects/plebbit/plebbit-js/node_modules/proper-lockfile/lib/lockfile.js:167:17
    at FSReqCallback.oncomplete (node:fs:192:23)
    at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17)

Seems like locks[file] is not defined by the time updateLock is called. Would love any insights on why.

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