Skip to content

saveAs fails on chrome with no error #778

@theahura

Description

@theahura

Thanks for this library.

I'm getting silent failures where, when I try to download using saveAs, it fails without any error or log -- a download simply never appears.

I'm using Chrome: Version 107.0.5304.87 (Official Build) (64-bit), on Ubuntu 20.02.

Any idea whats going on?

Example code:

import {saveAs} from 'file-saver'

const blob = new Blob(['helloworld'], {
  type: "application/json",
});

saveAs(blob, 'test')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions