-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When trying to retrieve a file that doesn't exist, an error is shown instead of a message that the remote file doesn't exist, and the spelling should be checked.
$ npx altis-cli stack scp my-remote:/tmp/doesnot-exist.txt .
✔ doesnot-exist.txt [<============================================] 100.0% (39B/0B, 29.71B/s)
node:events:496
throw er; // Unhandled 'error' event
^
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
at _write (node:internal/streams/writable:489:11)
at Writable.write (node:internal/streams/writable:510:10)
at Base64Decode.ondata (node:internal/streams/readable:1009:22)
at Base64Decode.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at Base64Decode._flush (/home/sander/.npm/_npx/232142a5e941c234/node_modules/base64-stream/lib/decode.js:51:18)
at Base64Decode.final [as _final] (node:internal/streams/transform:128:10)
at prefinish (node:internal/streams/writable:916:14)
Emitted 'error' event on WriteStream instance at:
at WriteStream.onerror (node:internal/streams/readable:1028:14)
at WriteStream.emit (node:events:518:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
code: 'ERR_STREAM_WRITE_AFTER_END'
}
Node.js v22.14.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels