Closed m0nhawk closed 1 year ago
This is a race condition: the dynamic loader is fetching the dependencies, but something is assuming the i18n plugin has been loaded, without declaring it a dependency.
We have some bootstrap dependencies that can be loaded, and the i18n one should be part of it. I will take this on and report back when a patch is available.
Could you try this PR on your local env and see if that resolves it for you?
@chrisknoll Thank you, I will try today-tomorrow, will update as soon as I get any updates.
I have deployed the fix, and it seems to work fine. I'll keep it running to see if the error pop up again, but as of right now I see that the amount of network requests have halved — from ~1700 to ~750 and it became quite snappier to load.
I can't reproduce it, and I don't see this happening for the users. 🎉
Fixed in #2852
Expected behavior
Actual behavior
js/components/cohortbuilder/options.js
,js/pages/cohort-definitions/const.js
or some other.Steps to reproduce behavior
I would appreciate any ideas on why it's happening and how to debug (and provide more information), but that was a frustrating issue to caught.