Deployment Fails with Fatal Unknown Target Error

I’ve been hosting my static website with Vite.js for a long time, and it has always worked fine. But today, when I tried to deploy, I started getting a “fatal: unknown target” error. No matter how many times I redeploy, the same error keeps showing up.

I also rolled back to a previous commit that was known to be stable, reverted my changes, and redeployed — but it still doesn’t work. I haven’t touched any configuration; my changes were only at the code level. Somehow, this failure started happening out of nowhere.

I even deleted the existing deployment and tried redeploying from scratch, but the issue persists. Now my site is completely down because I can’t get it deployed again.

I’ve spent hours trying everything I could think of: deleting deployments, reverting commits, redeploying multiple times. Nothing has worked.

Can you explain what’s going on? Is this a bug in the system that’s preventing deployment? I’m really stuck. Even the Replit assistant hasn’t been helpful — it doesn’t provide any useful suggestions.

2 Likes

I have the same issue all day today

Yep I am having same issue since day before yesterday

Seems like it stopped working sometime on Friday afternoon (US/PDT)

Same behavior no matter the project type, static deployment always fails with something like this:

2025-08-31T18:28:55Z fatal: unknown target

Opened a ticket with Replit support on Friday but have not gotten resolution yet

I’m having the same issue. I’m trying to deploy a simple HTML static landing page and it fails the build process. I’ve spent 4 hours trying to troubleshoot this, even rebuilding my pages in other frameworks.

Same issue for me. Have been deploying no problem for months. As of yesterday, it builds then unknown target. Assistant just sends me down a rabbit hold of changes that aren’t needed.

Also getting this “Socket closed with event 4500 Internal server error” - which shows whether trying static or autscale. And now that I deleted the previous deployment, my site is down. :frowning:

I have the same issue, I guess this is either something on their end. Hopefully it gets fixed soon.

I have a static website, nothing fancy. It worked like a charm for 2 weeks, and still does, I just can’t update it:)

Same issue, the pure frontend project was deployed successfully 2 months ago, but got “unknown target“ error today.

Same issue here with a similar site setup. Hopefully they can resolve this issue soon.

I’m waiting one more day to get this fixed and will move out if it takes longer than that

Hey gang: Static deployment working for me now. Hopefully this means they’ve fixed it.

Hey, they seems to have fixed it already, I could depoly my site successfully now.

Working for me as well.

same here

Yes it’s working for me now too

This should be fixed now, tag me if anyone’s still hitting this