Browser fails to render on adk web
On a Windows workstation, just going through the quickstart, I ran into issues immediately. When running the adk web command and navigating to localhost:8000, the application doesn't render. I checked the developer console in several browsers, including Chrome, and saw the following error:
"Loading module from 'http://localhost:8000/polyfills-FFHMD2TL.js' was blocked because of a disallowed MIME type ('text/plain')."
Additionally: "Loading module from 'http://localhost:8000/main-HWIBUY2R.js' was blocked because of a disallowed MIME type ('text/plain')."
same problem
same problem
but you can run in the terminal
Could you try hard refresh your browser or clear cache? Looks like your browser is trying to load a cached js file. The latest js file is main-ULN5R5I5 while your browser is trying to load main-HWIBUY2R.js.
I solved this by referring to this solved issue:
https://github.com/google/adk-web/issues/34
Also, make sure you open your browser in incognito mode, sometimes you works in this mode but not in the normal mode.
Feel free to re-open :)