Uncaught (in promise) TypeError: Cannot read property '__disableEmitter' of undefined
See original GitHub issueHi,
I’ve just installed the latest version of vue-i18n-next and I have a big problem because it does it work correctly with vue-router. Exactly the same bug like we can find here: https://github.com/intlify/vue-i18n-next/issues/253
Some people suggested to use NODE_ENV=production
but I can’t do that based on fact I’m using different .env files for different environments. Also based on NODE_ENV I’m attaching some extra functionality. So this is not solution.
Version & libraries: I’m using these version of libraries:
"dependencies": {
"@vueuse/core": "^4.6.2",
"core-js": "^3.9.1",
"register-service-worker": "^1.7.2",
"vue": "^3.0.2",
"vue-i18n": "^9.0.0",
"vue-router": "^4.0.5",
"vuex": "^4.0.0"
},
The behaviour: When I’m trying to change page (using vue-router) I get those errors:
vue-i18n.esm-bundler.js?47e2:1672 Uncaught (in promise) TypeError: Cannot read property '__disableEmitter' of undefined
at Proxy.beforeUnmount (vue-i18n.esm-bundler.js?47e2:1672)
at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:154)
at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:163)
at Array.hook.__weh.hook.__weh (runtime-core.esm-bundler.js?5c40:1957)
at invokeArrayFns (shared.esm-bundler.js?9ff4:470)
at unmountComponent (runtime-core.esm-bundler.js?5c40:4819)
at unmount (runtime-core.esm-bundler.js?5c40:4731)
at Object.remove (runtime-core.esm-bundler.js?5c40:5125)
at unmount (runtime-core.esm-bundler.js?5c40:4755)
at unmountChildren (runtime-core.esm-bundler.js?5c40:4859)
Someone has still a similar problem?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:14 (5 by maintainers)
Top Results From Across the Web
Cannot read property '__disableEmitter' of undefined #253
When I change the route, I got this error: Uncaught (in promise) TypeError: Cannot read property '__disableEmitter' of undefined at Proxy.
Read more >Uncaught (in promise) TypeError: Cannot read properties of ...
I am new to vue js but when i try to display image by id on page there is an error Uncaught (in...
Read more >Uncaught (in promise) TypeError: Cannot read properties of ...
I am using PnP JS in SPFx to get page content. I wanted to get content type id of the page and check...
Read more >Vue: Uncaught (In Promise) Typeerror: Cannot Read Property ...
Uncaught TypeError : Cannot read property of undefined JavaScript TypeError is thrown when an operand or argument passed to a function is incompatible...
Read more >How to fix Vue I18n Uncaught TypeError - Our Code World
How to fix Vue I18n Uncaught TypeError: Cannot read property 'config' of undefined. I've been working on a Vue.js app that needs to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works fine with the newly released vue v3.0.10.
vue 3.0.7 is work