intlify / intlify/nuxt3

message.replace error

Open
#27 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
204
Forks
18
PR merge metrics
No merged PRs in 30d

Description

I get errors when trying to run your package in dev mode.

The error:

message.replace is not a function
at format (file://./.nuxt/dist/server/server.mjs:4374:20)
at evaluateMessage (file://./.nuxt/dist/server/server.mjs:5160:22)
at Module.translate (file://./.nuxt/dist/server/server.mjs:4992:22)
at file://./.nuxt/dist/server/server.mjs:2458:62
at wrapWithDeps (file://./.nuxt/dist/server/server.mjs:2408:23)
at t (file://./.nuxt/dist/server/server.mjs:2458:16)
at setup (file://./.nuxt/dist/server/server.mjs:2034:17)
at _sfc_main.setup (file://./.nuxt/dist/server/server.mjs:2050:23)
at callWithErrorHandling (./node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6615:22)
at setupStatefulComponent (./node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6241:29)

I've done my research and debugged your code and it seems like VITE might be the problem here and not the Nuxt 3 itself. Any plans to fix this issue soon?

Maybe Nuxt 3 is too soon to begin to actually use in real production-ready projects.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.