i18n: Missing "./node_modules/vue-i18n-routing/dist/vue-i18n-routing.mjs" export in "@nuxtjs/i18n" package
Version
@nuxtjs/i18n: 8.0.0-beta.5
nuxt: npm:nuxt3@3.0.1-rc.0-27821553.ab125bd
Nuxt configuration
Please change to [x] if relevant for this issue:
- Applies to a site deployed to a static server (site generated with
nuxt generate) - Applies to a site deployed to a server with a Node backend
@nuxtjs/i18n configuration
Reproduction Link
Steps to reproduce
What is Expected?
Happens when bumping the @nuxtjs/i18n from 8.0.0-beta.4 to 8.0.0-beta.5. Wish I could find the exact line where it’s failing, as the error message is quite generic.
What is actually happening?

About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 17
- Comments: 26 (1 by maintainers)
@DamianGlowala Thank you!!!
Indeed, using
I’m able at least to build the project
Could you try overriding the package version? https://stackoverflow.com/a/70396201
I’ve just released edge version
@nuxtjs/i18n-edge@8.0.0-beta.6-27835776.563d636please check it!Thank you for your reproduction info!
I downloaded the code from @Aareksio’s Stackblitz and gave it a try locally… no error for me. While my own project still shows the error I mentioned yesterday
Hi,
@nuxtjs/i18n: @nuxtjs/i18n-edge@8.0.0-beta.4-27817449.b065900 nuxt: 3.0.0
Not sure if totally related but I have an issue that might be similar. However my colleagues, with same code base, cannot reproduced it.
Error message is :
[vite:load-fallback] Could not load /Users/xxxx/www/vwp_test/frontend/dist/vue-i18n-routing.mjs (imported by node_modules/@nuxtjs/i18n/dist/runtime/plugin.mjs): ENOENT: no such file or directory, open ‘/Users/xxxx/www/vwp_test/frontend/dist/vue-i18n-routing.mjs’
Hope it helps…
@kazupon unfortunately I’m still not able to build even with the alias (it was my fault not using it in the first place).
Maybe it’s only something on my end, as @lukaszflorczak confirmed it works properly with the edge version.
But still, I just noticed that the error message is a little bit different from the original post :
/node_modules/ (mising-module-directory) dist/vue-i18n.mjs
edited:
ps. I’m using the module name
@nuxtjs/i18ninnuxt.config.tsSure
Here’s my package-lock.json
monorepo