Closed fusionbeam closed 5 months ago
Hi,
I am trying to upload a local folder on Node 18.7 on Windows.
const monitor = new TransferMonitor(); monitor.on('progress', (progress) => console.log(progress)); const timeout = setInterval(() => console.log(monitor.getStatus()), 2000); try { await sync(path, `s3://s3.url/${carparkId}-${workstation}`, { monitor, dryRun: true, commandInput: { ACL: 'public-read', }, }); } finally { clearInterval(timeout); }
On some windows machines this fails, there is no progress and it keeps trying ...
{ size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } }
Any pointers on how to troubleshoot ?
Thanks, R
same behaviour on node 20.11.1
figured it out.
Hi,
I am trying to upload a local folder on Node 18.7 on Windows.
On some windows machines this fails, there is no progress and it keeps trying ...
{ size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } } { size: { current: 0, total: 0 }, count: { current: 0, total: 0 } }
Any pointers on how to troubleshoot ?
Thanks, R