Synchronization problems between my v0 project and Vercel

Hi there, I have the problem that the synchronisation between my Vercel project and v0 does not seem to work correctly. I have built a webapp via v0 and also deployed it to Vercel. Unfortunately, I deleted the project in v0 and therefore created a new project in v0 and linked my Vercel project to the v0 project via ‘vercel connection’. The correct environment variables are also displayed in v0, but v0 no longer seems to recognise the context of the Vercel project (despite correct linking), so that I can no longer develop my current project in v0. What am I doing wrong here? Or is this a bug?

Thanks for any help.

Hi @lukaslohfink-t-onlin, welcome to the Vercel Community!

I’m sorry to see you are facing this issue. What I understand is that you removed the v0 project, which removed the source code. Now, even though the project is deployed on Vercel the new v0 project cannot read the source code as it no longer exists.

This is the intended behavior because Vercel only keeps the build outputs and not the source from v0.

I hope this was helpful.

2 Likes

hI @anshumanb;

thanks a lot for your quick reply and the clarification - that makes sense.

Is there any way that I can still continue working on the project with v0? I also have the project I built with v0 in my Github rep. Is there perhaps a way here to transfer the project from Github to v0 or any other possibility?

Thank you already!

Hi @lukaslohfink-t-onlin, glad to know that you’ve the source code on GitHub. Sorry, but we don’t have an import GitHub code into v0.

I think the best course of action would be to create a v0 project and add the files you have manually. And then go about using the v0 prompting and deploy to Vercel features.

1 Like

Hi @anshumanb

thanks a lot for your help!!

1 Like

Hi @anshumanb

sorry, but one more question: Do you have any idea how I can upload the structure of the project in v0 (Sources)? I just wanted to upload the files in my new v0 project (as you suggested), but then I realised that this is not so easy because my Github project has different folders (app, components, public, styles etc.) and you can only upload single files under ‘sources’…

Perhaps you have another idea for this? Many thanks already :slight_smile:

Hi @lukaslohfink-t-onlin!

Jumping in here as I was going through active threads :smile:

Does this help (cross-posted from another thread)?

Hi @pawlean

Thanks for your tip. Unfortunately, exactly what is described there does not work correctly. I have established the connection to my vercel project within the v0 project. But v0 says it doesnt recognise the project and therefore I cannot continue working on the current status :confused:

Hi @lukaslohfink-t-onlin, we understand the issue you’re facing but at this moment the only way to resume your work is to manually add the files where they were.

One way to do this efficiently would be to take v0 through your old prompts (if you can recall), this way v0 will create the project structure and then you only need to paste the code in those specific files.

I hope this was helpful.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.