Closed zeyadsharo closed 2 years ago
Thank you for your reporting!
Sorry, I’m late due to my day job and family matters :disappointed: Please wait ... :pray:
Hi,
I have the same problem! All worked nice untill I had don - "npm update" a day ago!
In production I have following error:
vendor.a81a33b9.js:1 TypeError: a is not a function
at Uh (vendor.a81a33b9.js:5)
at Gh (vendor.a81a33b9.js:5)
at vendor.a81a33b9.js:5
at M (vendor.a81a33b9.js:5)
at Proxy.A (vendor.a81a33b9.js:5)
at index.2162502b.js:1
at Object.r [as default] (vendor.a81a33b9.js:1)
at Proxy.
But I also have errors in dev mode:
vue-i18n.runtime.esm-browser.prod.js:6 Uncaught (in promise) TypeError: o is not a function
at me (vue-i18n.runtime.esm-browser.prod.js:6)
at ue (vue-i18n.runtime.esm-browser.prod.js:6)
at vue-i18n.runtime.esm-browser.prod.js:6
at H2 (vue-i18n.runtime.esm-browser.prod.js:6)
at Proxy.V2 (vue-i18n.runtime.esm-browser.prod.js:6)
at TopBar.vue:77
at Proxy.renderFnWithContext (runtime-core.esm-bundler.js:401)
at Proxy.
Dear Kazupon fix this problem ASAP.
Same error : )
vue-i18n.runtime.esm-browser.prod.js:6 Uncaught (in promise) TypeError: o is not a function
at me (vue-i18n.runtime.esm-browser.prod.js:6)
at ue (vue-i18n.runtime.esm-browser.prod.js:6)
at vue-i18n.runtime.esm-browser.prod.js:6
at H2 (vue-i18n.runtime.esm-browser.prod.js:6)
at Proxy.V2 (vue-i18n.runtime.esm-browser.prod.js:6)
at Proxy._sfc_render (Markets.vue:29)
at renderComponentRoot (runtime-core.esm-bundler.js:424)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:4189)
at ReactiveEffect.run (reactivity.esm-bundler.js:160)
at setupRenderEffect (runtime-core.esm-bundler.js:4315)
I've just released out v9.2.0-beta.13 https://github.com/intlify/vue-i18n-next/releases/tag/v9.2.0-beta.13
Please try it!
I still have this error when using script setup with vue-i18n. @kazupon should the translation be outside of setup, in a mounted or something like that ?
I still have the same error.I have update vue-i18n to v9.2.0-beta.13 . pls help me @kazupon
Please try it!
I also kinda have the same problem, but I get "a is not a function" in production. , tried both v9.1.9 and v9.2.0-beta.13 with no luck. It was fine maybe a month ago but now I can't release any updates because of this. @kazupon , can you help me please ?
I also kinda have the same problem, but I get "a is not a function" in production. , tried both v9.1.9 and v9.2.0-beta.13 with no luck. It was fine maybe a month ago but now I can't release any updates because of this. @kazupon , can you help me please ?
I have the same error in production but there is no problem in development.Finally,I remove vite-i18n-plugin(I forget the name) and only use i18n and solve it
Same problem here: o is not a function in production. No error in development.
Resolved with : runtimeOnly: false
@0G3NS3C Works for me. Just out of curiosity: why? What does this flag change
@kazupon @jiaozhiye @VanishMax
I have the same problem at the production level only there is no error for the dev level
config I18n
error
code
Vite config
src Folder structure
Originally posted by @zeyadsharo in https://github.com/intlify/vue-i18n-next/issues/746#issuecomment-944892389