-
-
Notifications
You must be signed in to change notification settings - Fork 356
Cannot read property '__disableEmitter' #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I could not reproduce my environments ... 😞 |
close due to in-activity |
I encounter the same problem with version 9.0.0. My projects use latest vite, vue3, vue-router and typescript. Everything worked fine until today. It is only triggered in certain circumstances for special routes. But it disappears if I don't use beforeUnmount() {
const instance = getCurrentInstance();
/* istanbul ignore if */
if (!instance) {
throw createI18nError(22 /* UNEXPECTED_ERROR */);
}
/* istanbul ignore if */
if (((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) && !false) {
if (this.__emitter) {
this.__emitter.off('*', addTimelineEvent);
delete this.__emitter;
}
const _vueI18n = this.$i18n;
_vueI18n.__disableEmitter && _vueI18n.__disableEmitter();
delete this.$el.__INTLIFY__;
}
delete this.$t;
delete this.$tc;
delete this.$te;
delete this.$d;
delete this.$n;
delete this.$tm;
i18n.__deleteInstance(instance);
delete this.$i18n;
} |
Ok, the pages that cause issues use |
This seems to be related to a vue bug, in vue 3.0.7 everything works fine again. |
vue & vue-i18n version
What is actually happening?
On Beta 4 i get on a page change with [email protected] an error
it related to
On Beta 3 everything works fine
The text was updated successfully, but these errors were encountered: