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. Thelayout.tsxis the default “v0 App” template.page.tsxreturnsnull. 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/uicomponents 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
- First time round, I got carried away and didnt setup
git. - 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??