What to do when app in Google AI studio goes white!

Im starting to learn about “vibe coding” and having so much fun! But the app I´m working on has gone white, nothing is loading with launching the app. The AI assistent can not make the app work again or find whats wrong.

Anyone who can piont me in the right direction? Really sad if the app is gone!

Yeah, happened to me quite a few times. This is where your experience with coding matters, as you will have to check the code yourself now and find the cause of this error. It’s really annoying because it means you have to understand the code and have to understand how to debug the code. And how to get the JavaScript console from the Developer tools in your browser. And check if AI Studio itself also provides some hints on what might be wrong.
For the latter, look in the bottom-right of your screen for a ^ symbol. This will show the log of AI Studio itself and could provide a hint of what goes wrong. But then you yourself still have to fix it in the code or tell AI Studio specifically what it needs to fix.
A common problem for this error seems to be a conflict in libraries. For example, you might have both React 18 and React 19 in the same code.
Also, keep making backups. :smiley: AI Studio allows you to download your code so use that to get a backup. If things get messed up too much, you can create a new app by just starting all over again and uploading one of the backups you have through the prompt. (drag & drop.)
But unfortunately, AI tends to get stuck in stuff it can’t solve so this is where we humans are still required to do some work…