duplicator
duplicator copied to clipboard
Fixed "BufferedStream is already ended" error when duplicate server is down.
Fixed the following error when duplicate server is down. "BufferedStream is already ended"
Doesn't seem to be fixed in v0.1.1.
I get
c:\XXX\node_modules\bufferedstream\index.js:317
throw new Error('BufferedStream is already ended');
^
Error: BufferedStream is already ended
at BufferedStream.<anonymous> (c:\XXX\node_modules\bufferedstream\index.js:317:13)
at c:\XXX\node_modules\duplicator\index.js:98:16
at Socket.<anonymous> (c:\XXX\node_modules\duplicator\index.js:69:7)
at Socket.emit (events.js:314:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Currently, the original author of this program did not apply the code I modified.
Try the source code from the link below where the problem is fixed. https://github.com/isul/duplicator
Doesn't seem to be fixed in v0.1.1.
I get
c:\XXX\node_modules\bufferedstream\index.js:317 throw new Error('BufferedStream is already ended'); ^ Error: BufferedStream is already ended at BufferedStream.<anonymous> (c:\XXX\node_modules\bufferedstream\index.js:317:13) at c:\XXX\node_modules\duplicator\index.js:98:16 at Socket.<anonymous> (c:\XXX\node_modules\duplicator\index.js:69:7) at Socket.emit (events.js:314:20) at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:80:21)