Fatal error when deploying static repl

Bug description: When I try to deploy a static repl, it errors with the error fatal: could not create static archive

Expected vs Current Behavior: Should deploy the repl, instead it fails.

Steps to reproduce: Open the repl and attempt to deploy it.

Bug appears at this link: https://replit.com/@Chelseaaa/CollegiateHW

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Replit Profile: https://replit.com/@Chelseaaa

Full Log

Info: Deployment: 3543b1f2-8baa-4c6d-b048-ea82a11c0035 - 2023-10-18T17:42:35.410Z
info: Build: 4dd488ce-f5d5-4600-9c3d-dac5fae35a5b - 2023-10-18T17:42:35.411Z
info: Connecting to builder - 2023-10-18T17:42:35.411Z
info: Deployment: 3543b1f2-8baa-4c6d-b048-ea82a11c0035 - 2023-10-18T17:42:35.410Z
info: Build: 4dd488ce-f5d5-4600-9c3d-dac5fae35a5b - 2023-10-18T17:42:35.411Z
info: Connecting to builder - 2023-10-18T17:42:35.411Z
info: Builder connected - 2023-10-18T17:42:37.568Z
info: Skipping Build as no Build command set - 2023-10-18T17:42:37.773Z
fatal: could not create static archive - 2023-10-18T17:42:37Z
info: Language - 2023-10-18T17:42:37Z
info: Creating static archive - 2023-10-18T17:42:37Z

Loom: Loom | Free Screen & Video Recording Software | Loom

cc @ShaneAtReplit

Hey @Chelseaaa!

Thank you for filling out all of the information and including the loom. I will take a look at this and will follow up once I have an update!

1 Like

Hey!

This error message happens when the static deployment exceeds our size limits. We are looking into why this would be happening with your Repl and will follow up once we have an update!

Update: We are still looking into this issue. Our limit for static deployments is currently 1GB, which could explain why you are seeing the issue (if you are using / as the static directory, it will include everything in the working directory)

Instead, can you try creating a separate directory such as public, move your files into it, and set that as the static directory for your Deployment? Then, try redeploying and see if that works!

Iā€™m currently having the same problem. Nothing is working. I need help

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.