Replit deployment - bundling fails with zlib buf error

Problem description:
Unable to deploy - bundling is failing
error from logs

fatal: Failed to get Nix directories
Error: Custom { kind: Other, error: “zlib buf error”}

Expected behavior:
should deploy successfully

Actual behavior:
bundling fails with mentioned error

Steps to reproduce:
Try to deploy the app

Bug appears at this link:

Device (Android, iOS, NA leave blank):
Desktop app version (Avatar menu->“Version”) or NA:
Plan (Free, Hacker, Pro Plan): Pro

Can you please provide a link to your Repl and steps to reproduce the issue?


The replit is -

To reproduce, initiate a deployment, it fails at bundling


Unfortunately that link does not work. In the meantime, I would make sure you run through our Deployments FAQ as well.

I have invited you to the replit - the deployments FAQ doesn’t seem to cover anything specific to this.


When I press Run I am not getting anything additional to console or webview. Can you perhaps take a screen capture showing me how to reproduce the issue for the team?

I think you’d just need to try to deploy the Repl:

1 Like