Skip to content

The message that is resolve with key XXXXX is not supported for jit compilation #2394

@GaborTorma

Description

@GaborTorma

Environment

  • Operating System: Linux
  • Node Version: v16.20.0
  • Nuxt Version: 3.7.1
  • CLI Version: 3.8.1
  • Nitro Version: 2.6.3
  • Package Manager: [email protected]
  • Builder: -
  • User Config: modules, i18n
  • Runtime Modules: @nuxtjs/[email protected]
  • Build Modules: -

Reproduction

You can use this stackblitz.
Only start and see the console. You will get the message.

Describe the bug

When I use defineI18nLocale function I get the following message for all used translation:
The message that is resolve with key XXXXX is not supported for jit compilation

I created some other test case, you can change it in a nuxt.config.ts.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions