intlify / nuxt3

Nuxt 3 Module for vue-i18n-next

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module does not provide an export named 'vueI18n'

Hardaker587 opened this issue · comments

Framework: Nuxt3 RC-8

Reproduction link: https://stackblitz.com/edit/intlify-nuxt3-minimal-reproduction

When running nuxt dev or nuxt build I am getting the following error:

ERROR  The requested module '@intlify/vite-plugin-vue-i18n' does not provide an export named 'vueI18n' 
import { vueI18n } from '@intlify/vite-plugin-vue-i18n';
^^^^^^^                                                            

This more than likely seems related to the version of @intlify/vite-plugin-vue-i18n because this all worked a few days ago, and is now unfortunately breaking all builds.

Hi,
same here.
I don't get the message on anotehr project where @intlify/vue-i18n-loader version is 9.2.0-beta.40 though.

I have this error with version 9.3.0-beta.1

when I list dependencies of @intlify/nuxt3@0.2.3 I have :
├─ @intlify/shared@beta
│ ├─ @intlify/vite-plugin-vue-i18n@next
│ ├─ @intlify/vue-i18n-loader@next

is it possible maybe to install a specific version instead of the latest?

I highly appreciate you fixing this so quickly!