Error: ENOENT: no such file or directory, open 'C:\Users\aaa\download\doc\img\356052:KMj1qXxjUIyM2Xa\1683-155246-29232.png'
Emitted 'error' event on WriteStream instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\Users\aaa\download\doc\img\356052:KMj1qXxjUIyM2Xa\1683-155246-29232.png'
}
感谢作者,工具很好用,不过遇到了bug,导致任务没完成就没法继续了。 看起来应该是文件名中包含英文冒号导致创建目录失败(Windows中用的)。。。
node:events:495 throw er; // Unhandled 'error' event ^
Error: ENOENT: no such file or directory, open 'C:\Users\aaa\download\doc\img\356052:KMj1qXxjUIyM2Xa\1683-155246-29232.png' Emitted 'error' event on WriteStream instance at: at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'C:\Users\aaa\download\doc\img\356052:KMj1qXxjUIyM2Xa\1683-155246-29232.png' }
Node.js v18.18.2