Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Cannot use webpack Buffer module #75

@EverlastingBugstopper

Description

@EverlastingBugstopper

My worker relies on the Buffer package and it works fine in the Cloudflare worker runtime. However when I attempt to use Cloudworker, the method for creating a new Buffer Buffer.from("Hello, world!") throws this error: first argument must be a string or Buffer (which doesn't really make sense, because the first argument is a string or Buffer)

I tried forking and including the Buffer package directly in the Cloudworker runtime but I had no luck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions