Uncaught Error: Component auth has not been registered yet. aistudio preview crashing?

Dear All,

By 30 October 2025, all of a sudden all my aistudio projects in my drive started not to show preview. Instead, I see a black screen in preview. The error is :

Uncaught Error: Component auth has not been registered yet

Anyone experiencing the same issue? I am a bit desperate as I was depending on the tool to finalize my app :frowning:

Hi @Hakan_Sahin ,

Welcome to the Forum!!
To help us investigate the issue more effectively, could you please provide a screenshot of the error message you’re seeing?

Hi Mrinal,

The issue is somehow resolved without any action. I do not have screen shots but basically AI Studio preview screen was full black.

Thanks

Experiencing the same error

image

I may have found a solution, if you are building the project by connecting to firebase and you are using the aistudiocdn imports for the firebase auth then you can swap it to use the gstatic instead: “https://www.gstatic.com/firebasejs/10.12.2/firebase-auth.js”. Maybe there is currently an issue on their end regarding the aistudiocdn package for the firebase auth.

2 Likes

This fixed it for me after dealing with it for over an hour. THANK YOU.