You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vue-i18n attempts to read a global __VUE_PROD_DEVTOOLS__ variable. This causes a ReferenceError in some engines, especially in an SSR context with recent node versions:
ReferenceError: __VUE_PROD_DEVTOOLS__ is not defined
at Object.install (file:///home/s-ol/dot/vike-repro/node_modules/vue-i18n/dist/vue-i18n.mjs:2284:65)
Reporting a bug?
vue-i18n attempts to read a global
__VUE_PROD_DEVTOOLS__
variable. This causes aReferenceError
in some engines, especially in an SSR context with recent node versions:See also vikejs/vike#1778 (reply in thread).
Expected behavior
globalThis
shoud be checked using'__VUE_PROD_DEVTOOLS__' in globalThis
before attempting to read the variable.Reproduction
The
i18n
branch in this repository illustrates the issue usingvike-vue
: https://github.com/s-ol/_vike-vue-i18n-repro/tree/i18nSystem Info
Screenshot
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: