Uncaught SyntaxError: The requested module...ERROR

Hello,
For a few days now, I’ve been getting this error that’s preventing Google Studio AI from displaying the preview of my application.

“Uncaught SyntaxError: The requested module ‘@/pages/BannedPage’ does not provide an export named ‘BannedPage’”

I tried to fix the problem through Chat, but it’s still blocked.
Do you have any ideas?
Thanks.

Hi @Salim_Bouterfas ,

Welcome to the Forum !!
To help us investigate the issue you’re experiencing, could you please provide us with the following?

  • A screenshot of the error message.

  • The exact input prompt that triggered the error.

This information will enable us to replicate the problem on our end for testing purposes.

Hi,
thanks for responding quickly!

Is there someone who can respond please :confused:

Bonjour avez vous eu une réponse ?

This error appears to be a React initialization failure, but it’s actually (if I’m not wrong) caused by intermittent availability issues with the aistudiocdn.com CDN that serves the import map dependencies. If you’re experiencing persistent issues, you can verify by checking the Network tab in DevTools to see if React is loading successfully from the CDN.

By default, Gemini Pro 3 uses the CDNs from ai-studio which seem unstable, on my side I have manually modified the CDNs for more stability.