Update – issue resolved
The white screen was caused by apps loading React and related libraries from https://aistudiocdn``.. In some environments this domain fails to load, so React never initializes and the app renders nothing. This affected older apps, while newly created ones still worked.
Fix:
In index.html, update the importmap:
-
Replace all
https://aistudiocdn.com/...URLs withhttps://esm.sh/... -
For libraries that depend on React (e.g.
lucide-react), append?external=reactto prevent duplicate React instances.
Example:
“react”: “https://esm.sh/react@19.2.0”,
“react-dom”: “https://esm.sh/react-dom@19.2.0”,
“lucide-react”: “https://esm.sh/lucide-react@0.556.0?external=react”
After saving, both AI Studio preview and deployed Cloud Run apps load correctly again.