After upgrading to Nuxt 3.7, vue-i18n doesn't work anymore when building the app. It works in development mode, but running npm run build && node .output/server/index.mjs results in the following error:
[500] Cannot find module '/home/projects/github-hnz7et/.output/server/chunks/dist/vue-i18n.runtime.mjs' imported from /home/projects/github-hnz7et/.output/server/chunks/app/server.mjs
I am not sure whether this is an issue with vue-i18n, @intlify/unplugin-vue-i18n or Nuxt, but my first hunch is there is something wrong in the plugin.
Expected behavior
Building and running an app with Nuxt 3.7 where vue-i18n is setup according to the instructions should work without errors.
Reporting a bug?
After upgrading to Nuxt 3.7, vue-i18n doesn't work anymore when building the app. It works in development mode, but running
npm run build && node .output/server/index.mjs
results in the following error:[500] Cannot find module '/home/projects/github-hnz7et/.output/server/chunks/dist/vue-i18n.runtime.mjs' imported from /home/projects/github-hnz7et/.output/server/chunks/app/server.mjs
I am not sure whether this is an issue with vue-i18n, @intlify/unplugin-vue-i18n or Nuxt, but my first hunch is there is something wrong in the plugin.
Expected behavior
Building and running an app with Nuxt 3.7 where vue-i18n is setup according to the instructions should work without errors.
Reproduction
npm run build && node .output/server/index.mjs
Issue Package
unplugin-vue-i18n
System Info
Screenshot
Additional context
No response
Validations