[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Feedback](/c/feedback/8)

# V0 dev automatically modifies and sometimes deletes files

143 views · 5 likes · 4 posts


riza (@hasriza) · 2025-04-15 · ♥ 1

I find v0 dev modifying files that do not match the prompt and often times it deletes files and folders without even letting me know.

Refer: https://community.vercel.com/t/v0-keeps-changing-and-deleting-things/4878/8

I'll give examples:
This is v22 of my project - see details folder below orders
![Version 22, see the details sub folder](upload://8jZYP7FifLIJPBYn7WEzEqtFcW7.png)

This is the prompt I entered after that
![prompt right after that](upload://2QOKtqpUPSxahbc03EvBmryuneF.png)

This is v23
![version 23](upload://nSwKawFT1Nbg0kYFE5FApowC2cy.png)

I often waste a lot of tokens and time simply trying to fix this and having to restore the deleted files manually. If there is a reason for this, I'd like to know that else I'll resubscribe after this issue is fixed. I'd rather have poor UI using Cursor AI than have to redo something with the possibility of it not being there again after everything else is done, this has happened before as well but I am not going to look for it.

Also what's the update on v0 integration in Cursor :expressionless:


Anshuman Bhardwaj (@anshumanb) · 2025-04-15 · ♥ 1

Hi @hasriza, welcome to the Vercel Community!

Thanks for taking the time to write up detailed feedback. I'll share it with the team. 

As with any AI product the output should always be double checked because the AI editors are prone to overdoing or hallucinations.


riza (@hasriza) · 2025-04-15 · ♥ 1

Hi @anshumanb, I do agree with your point regarding hallucinations and as valid as it is, if there was a way to list and restore deleted files and folders after the new version is created, it would probably save a lot of time in my opinion.

I also have a feeling that these files are not explicitly deleted but are lost mid generation due to incomplete implementation of the changes requested.


Richardnugen 6495 (@richardnugen-6495) · 2025-06-05 · ♥ 2

This also happens in my environment. Especially with any changes I make outside of v0. 

For instance, if I pull the code locally from github, modify, push and then sync in v0. The next edit v0 will delete my changes. It is very aggressive with this. For instance, I changed the .gitignore file and it delete my changes. Not to mention the forms I created and routes I added.