Timer Uppy is displaying "NaNh NaNm" instead of the estimated time left

Started by benny-adiwijaya7 replies1,135 views
benny-adiwijayaOriginal post
#1

I am using custom button to upload file, but the timer Uppy is displaying “NaNh NaNm” instead of the estimated time left.

window.InitializeUppy = function () {
    const TUS_ENDPOINT = window.location.origin + '/files';

    const uppyDashboard = new Uppy({
        logger: debugLogger
    })
    .use(Dashboard, {
        inline: true,
        target: "#uppy",
        showProgressDetails: true,
    })
    .use(DropTarget, {
        target: document.body
    })
    .use(Tus, { endpoint: TUS_ENDPOINT, limit: 6 });

    window.uppy = uppyDashboard;
}

window.UploadClicked = function () {
    uppy = window.uppy;
    uppy.upload();
}

Is there something missing in my custom upload function?

MerlijnTransloadit team
#2

Hi, this may be a bug. If you can reproduce this in a small video, a bug report would be appreciated. Thanks!

benny-adiwijayaReplying to #3
#4

Hi, I am using npm and new with npm stuff. how to install unreleased version of uppy/status-bar to test it?

aduh95
#5

Testing unreleased packages is a pain I reckon, you often need to build from source and link it with you project. Thankfully, we just released a new version of Uppy with the fix, so you won’t need to do that 🙂 Do you want to try with @uppy/status-bar v3.2.1 and report back?

aduh95Accepted answer
#7

We’ve just released v3.2.2, with another fix, hopefully that fixes the issue for you. Can you please try it out and report back?