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?