error: "[unenv] zlib is not implemented yet!" even with compat flag on

Hi folks, My worker has these compat flags nodejs_compat_v2 and nodejs_zlib.

I'm using a library (qrcode) that depends on zlib. It works in my preview branch, but in production, I get this error:
[unenv] zlib is not implemented yet!


Things I've tried:
  1. Double-check runtime config between preview and production
  2. Cleared build cache
What am I doing wrong here?
image.png
Was this page helpful?