-
-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: Nuxt module should be a function: [object Object] after upgrading i18n to 9.1.0 #3246
Comments
Would you be able to provide a reproduction? 🙏 More infoWhy do I need to provide a reproduction?Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making. What will happen?If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect. If How can I create a reproduction?We have a couple of templates for starting with a minimal reproduction: 👉 Reproduction starter (v8 and higher) A public GitHub repository is also perfect. 👌 Please ensure that the reproduction is as minimal as possible. See more details in our guide. You might also find these other articles interesting and/or helpful: |
After many tries to provide a reproduction, I found the problem The error occurred because I didn't have
in my package.json The problem doesn't occur with 8.5.5 Reproduction: Codesandbox |
I had the same problem. After installing the latest version of After installing |
While debugging locally all I can figure out is that this issue is specific to Unfortunately #3251 has failing CI, I'll see if I can update deps and resolve it locally but I can imagine this issue will pop up again (when fixed) later as it seems to be something to do with dependency resolution. |
Environment
Reproduction
Update @nuxtjs/i18n from 8.5.5 to 9.1.0
yarn install
Describe the bug
After updating i18n to 9.1.0 and do yarn install
I get the following error:
couldn't be built successfully (exit code 1, logs can be found here: C:\Users\xxx\AppData\Local\Temp\xfs-72afd679\build.log) ➤ YN0000: └ Completed in 32s 297ms ➤ YN0000: · Failed with errors in 37s 250ms
Nuxt module should be a function: [object Object]
Additional context
I am already using the Nuxt 4 folder structure
Logs
The text was updated successfully, but these errors were encountered: