eligrey / eligrey/FileSaver.js

FileSaver.saveAs(..) function throwing error suddenly

Open
#622 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
22k
Forks
4.3k
PR merge metrics
No merged PRs in 30d

Description

We are using the function above to download the file in our application. Earlier it worked fine. But suddently it stopped working. getting the below error in Chrome Browser.

**Uncaught (in promise) TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.**
**Chrome Version 78.0.3904.87**

In Firefox, the error is:
**TypeError: Argument 1 is not valid for any of the 1-argument overloads of URL.createObjectURL.**

we are using firefox latest version.
We are using the below version for the file saver.
"file-saver": "1.3.8",

We have not modified the version recently. But suddenly it stopped working.
Please help us to fix this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.