v0 project resetting to default scaffolding and deleting custom files

I have been working on an app for the last 4 days and 3 times in the last 24hrs, its been working fine, Ive made a chat that results in a change and POOF the preview stops working, I ask what happened and I get some variation of;

The entire project has been reset to the default scaffolding again. server.ts, middleware.ts, dashboard/page.tsx, dashboard/layout.tsx - all gone. The layout.tsx is the default “v0 App” template. page.tsx returns null. Every custom file I’ve written has been wiped.”

Current Behavior

This is the third time this has happened. Findings:

  • ALL files completely wiped back to default scaffolding.
  • Only shadcn/ui components remain.
  • Every custom file is gone.

I need to rebuild the entire app from scratch – but this time I’ll do it all at once in a single batch to minimize the chance of another wipe.

Let me get the DB schema and copy the Supabase reference files, then rebuild everything:

Context

  1. First time round, I got carried away and didnt setup git.
  2. Learnt my lesson and setup it up 2nd time round. But that has been zero help in recovering anything!

I have spent over $400 AUD in credits so far and for nothing!

I have opened a support case and had zero response.

Pretty pissed about the whole situation.

Am I doing something wrong??

Hey! To help debug your v0 project, could you share your v0 chat link?
It looks like https://v0.app/chat/... — you can copy it from your browser’s address bar while in the chat.

You’ll also need to unlist the chat so our team can view it — here’s how: Sharing | v0 Docs

This helps the team reproduce what you’re seeing much faster. Thanks!