Cannot edit a published generation

Hi,

I have a project which is deployed and everything worked fine.
Couple of days back I started to get the following message while trying to make changes :

Cannot edit a published generation

I read few other questions raised by others and I saw people are using fork to be able to make changes again. But this was not needed in the past and I could make lots of changes.

It looks to me that after Deploy I can’t make changes to the code anymore. But, the new version is not created without creation of a new fork - which is a workaround but not a good one.

Anyone know how I can progress the versions, as I assume it will be fixed by that.

I am not using the chat but more touching the code directly …

thanks,

Did you know about these other v0 resources? A human should be here soon to help, but the answer may already be available even faster in one of these other posts.

This guide is a great place to start.

And these recordings can give you a look at v0 features and strategies in action: Topics tagged v0

Hey, ecp! :waving_hand:

I’m actually unable to replicate what you’re describing. I’m able to make changes to the code, via chat and the code directly then deploying on Vercel as usual.

Could you share a chat example, perhaps? It’d help a lot!

Thank Pauline,

I am new here so I am not sure how to share my chat - but it is kind of empty anyway.
I opened a new fork, since this is the workaround that allow me to make changes. The new fork start with V1. At this stage I can amend the code easly and save. Once saved the system progress the version and create V2.
Now, I publish V2 and bring it online. Once I do this and I can see V2 is published, I am blocked from making any changes. I can go to the code and make the change, but once I press Save it give me the prompt “Cannot edit a published generation”. I see the versions do not progress.

I assume I can’t change V2 because it is published, but changes should have created V3 and they do not.

thanks,

No worries!

To share a chat, click on the “Share” icon on the top right hand corner:

CleanShot 2025-04-30 at 18.27.34@2x

Then from the modal, change access to Unlisted.

I think I understand what you mean. Can I just check - when you fork, you can publish any changes from that fork though correct?

Yes. Once i fork i can edit, save and publish changes. But once i do it once, after publish, i cant make new changes without forking again.
I didnt need to do so at the beginning. This is a new problem i have. Forking seem like a workaround. I prefer just to have a new version like before.

Thanks

https://v0.dev/chat/work-on-this-vWpPllEnYW0