Skip to content

Error: ENOENT: no such file or directory when running mirror --live #8

@dwiel

Description

@dwiel

I was running some tests and ran into this problem:

z:src zdwiel$ drives mirror serial_to_pubsub/ 7bbiwns7mju7htdncgdgsomdy1toswqo5muyfjd7ut81wd9zwwfy --live
✔ Total files: 6 (+0 -0 ~0)

+ /n~ 6Bnode:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: ENOENT: no such file or directory, open '/Users/zdwiel/src/serial_to_pubsub/n~'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/zdwiel/src/serial_to_pubsub/n~'
}

Node.js v19.7.0

looks like maybe the file n~ disappeared before drives had a chance to open it? I wasn't doing anything crazy, just creating and saving files with vi and deleting files from the command line.

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