josephrcox / easy-reddit-downloader

Simple headless Reddit post downloader
MIT License
70 stars 9 forks source link

List downloading error #85

Closed Jon1Games closed 6 months ago

Jon1Games commented 6 months ago

Hello, I always gets an error while downloading with lists, someone know an fix? Error:

node:events:496
      throw er; // Unhandled 'error' event
      ^

Error: ENOENT: no such file or directory, open
    at Object.open (node:fs:565:11)
    at WriteStream._construct (node:internal/fs/streams:72:17)
    at constructNT (node:internal/streams/destroy:299:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
Emitted 'error' event on WriteStream instance at:
    at WriteStream.onerror (node:internal/streams/readable:1026:14)
    at WriteStream.emit (node:events:518:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open'
}

thx

Jon1Games commented 6 months ago

Edit: Just fixed it, i needed you install an neuer version of node.js (in my case from the LTS to the Current version)

Jon1Games commented 6 months ago

Edit: The error just isn´t aprearing anymore, the picture is an nodejs error picture. Maybe this is an error of the reddit api or they got deleted