nellyg
nellyg7mo ago

Dynamic assets

What would be causing this error when running an app?
Failed to fetch dynamically imported module: https://******************.run.app/home/assets/run-page-CN0nDrDA.js
Failed to fetch dynamically imported module: https://******************.run.app/home/assets/run-page-CN0nDrDA.js
7 Replies
Myles Scolnick
Myles Scolnick7mo ago
This is code-splitting on the frontend trying to request more assets. The generate url is probably wrong. What is the <base> uri for the loaded html? Also if you visit that js url, does it return anything?
nellyg
nellygOP7mo ago
I am now seeing this
No description
nellyg
nellygOP7mo ago
Hmm follow up. This seems to stem from setting it up only allowing 1 concurrent connection. (This is what cloud run recommends for processes that require a large amount of compute).
Myles Scolnick
Myles Scolnick7mo ago
hm, it could be that the ws is locking the concurrent process
nellyg
nellygOP7mo ago
I may just need to find a better way to host this. I basically need to spin up a single instance of the application per user because we do some intense computations in the application
Myles Scolnick
Myles Scolnick7mo ago
can you do a single beefy instance on cloud run?
nellyg
nellygOP7mo ago
They max out at 32Gb. I need to try a few things. Ill let ya know what I find