Skip to content

QR code generator example is broken #14797

@lucasnad27

Description

@lucasnad27

Existing documentation URL(s)

What changes are you suggesting?

Cloudflare Pages is unable to build when importing qr-image, due to the zlib dependency. This is true even if the nodejs_compat flag is set. Ideally, this example is updated to so it works on the CF runtime, or removed altogether to avoid wasted time by CF users :)

I found a workaround, using an unofficial port, cf-qr-image that uses pako in lieu of zlib.

Additional information

image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions