ChunkLoadError and o.isProxied error

We use Sentry for error logging with our Ionic 5 (Angular with Capacitor) App which is deployed to three platforms (iOS, Android and Web).

In the Sentry we get a lot of these errors coming from the web platform:

ChunkLoadError: Loading chunk XX failed.

We never see these internally, only in production. I think this is something to do with Lazy Loading but I’m not really sure what our approach should be to handle these errors? Does anyone else get them and if so how have you handled them?

We also get a lot of these errors:

undefined is not an object (evaluating 'o.isProxied')

but in the logs these are always proceeded by a Loading chunk XX failed error so I am guessing they are related? Anyone else get these?

We have been getting a lot of the ChunkLoadErrors lately as well. I’d have to go back and look but I think it started after the movement to Ionic 5. I don’t remember them in Ionic v4.

We, too, are using preloadingStrategy: NoPreloading,.

I guess turning that off may be the next thing to try?

We have ours set to:

preloadingStrategy: PreloadAllModules

Let me know if you get anywhere with this!

getting same error, any update or solution ?
Thank you.