s3-plugin-webpack icon indicating copy to clipboard operation
s3-plugin-webpack copied to clipboard

Progress bar not working correctly

Open anstapol opened this issue 3 years ago • 3 comments

Issue Details

MacOS Catalina 10.15.6 Node v14.4.0 Plugin v1.0.3

Progress bar not only not showing the right upload status its also printing a lot of empty new lines.
(That 100% is reached right after I run the command and it's obviously impossible because I have a lot of assets)

image

Any clue why it's happening?

anstapol avatar Jul 27 '20 09:07 anstapol

This is the package that's used for progress bar, so answer might lie there: https://www.npmjs.com/package/progress

EDIT: I had to turn it off. The amount of newlines seems to be related to the number of files uploaded.

patcon avatar Aug 11 '20 20:08 patcon

Also, seems that it perhaps hasn't worked in a loooong time :) https://github.com/MikaAK/s3-plugin-webpack/issues/80#issue-243943266

patcon avatar Aug 11 '20 22:08 patcon

Yeah it's been bugged for a long time, not sure how to fix it though since by code it still looks right 🤔 If you have any ideas it's only 20LOC https://github.com/MikaAK/s3-plugin-webpack/blob/master/src/s3_plugin.js#L224-L243

MikaAK avatar Sep 09 '20 20:09 MikaAK