Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Blob is not defined #12

@tapz

Description

@tapz

Node 8.15.1 (why would anybody run the script in browser?):

Error: ReferenceError: Blob is not defined
at json2excel (.../node_modules/js2excel/dist/js2excel.min.js:1:655436)

Should use this instead of Blob:

let buffer = Buffer.from(arraybuffer);
let arraybuffer = Uint8Array.from(buffer).buffer;

https://stackoverflow.com/questions/14653349/node-js-can%C2%B4t-create-blobs

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