Skip to content

nodejs V16 => ReferenceError: Response is not defined #419

@gowy222

Description

@gowy222

const zipReader = new zip.ZipReader(readable)

ERR:
reader = new BlobReader(await new Response(reader.readable).blob()); //put all data into memory? if file over 2GB..
=> ReferenceError: Response is not defined


Response is Web API? is there any way work with big file(>2GB) use fs.createReadStream(local_path)... low memory! ;
and noted NO Readable.toWeb() in pure nodejs tho..

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