Subject: Community Cloud app fails to load JavaScript modules across devices and networks

Our Streamlit Community Cloud app intermittently hangs on loading or displays:

TypeError: Failed to fetch dynamically imported module

The affected modules include Streamlit’s built-in Metric and DataFrame components.

Environment:

  • Python 3.12

  • Streamlit 1.66.1

  • pandas 3.1.0

  • Altair 6.3.0

  • GitHub commit: bc0f20a

  • App URL: https://car-market-analytics-112233.streamlit.app/

The application passes local smoke tests. Cloud dependencies install successfully and the server starts on port 8501.

We have reproduced the issue across different browsers, devices and network connections, including mobile internet. Disabling AdBlock, clearing the cache, rebooting and redeploying the application did not resolve it.

Could you please investigate whether static JavaScript assets are being served correctly and whether there are any routing, proxy or rate-limiting issues affecting this deployment?

Thanks for the detailed report—your cross-browser and cross-network tests are useful. I can’t inspect the live app’s asset responses or Cloud infrastructure from here, so I can’t confirm a routing, proxy, or rate-limiting fault. The supplied docs don’t specifically diagnose TypeError: Failed to fetch dynamically imported module or verify static JavaScript delivery for your deployment.

For the next diagnostic pass, check Manage app → Cloud logs for errors around a failed load, and capture the browser Network panel’s failed asset URL, status, and response headers. Streamlit’s remote-hosting guide associates a persistent loading screen with possible CORS or WebSocket-compression configuration issues, but that guidance is for self-hosted deployments; it doesn’t establish that either is the cause on Community Cloud. Please share those logs/network details and a minimal reproducible example or repository if available; they’ll help the community narrow it down. Remote deployment troubleshooting · Community Cloud app management

Sources: