Skip to content
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

After upgrading from 8.5.6 to 9.1.1: ERROR Could not load @nuxtjs/i18n. Is it installed? #3289

Open
mendrinos opened this issue Dec 30, 2024 · 3 comments

Comments

@mendrinos
Copy link

Environment

  • Operating System: Darwin
  • Node Version: v23.5.0
  • Nuxt Version: 3.15.0
  • CLI Version: 3.17.2
  • Nitro Version: 2.10.4
  • Package Manager: [email protected]
  • Builder: -
  • User Config: default
  • Runtime Modules: @nuxtjs/[email protected]
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/sb1-wvuoha3x

Describe the bug

`ERROR Could not load @nuxtjs/i18n. Is it installed? 11:06:06 PM

at loadNuxtModuleInstance (node_modules/@nuxt/kit/dist/index.mjs:2470:11)
at async installModule (node_modules/@nuxt/kit/dist/index.mjs:2388:67)
at async initNuxt (node_modules/nuxt/dist/index.mjs:5275:5)
at async loadNuxt (node_modules/nuxt/dist/index.mjs:5459:5)
at async loadNuxt (node_modules/@nuxt/kit/dist/index.mjs:2640:19)
at async Object.run (/Users/mendrinos/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/prepare.mjs:60:18)
at async runCommand$1 (/Users/mendrinos/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.DSPrE7vg.mjs:1767:16)
at async runCommand (/Users/mendrinos/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.DSPrE7vg.mjs:2138:10)
at async Object.setup (/Users/mendrinos/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/add2.mjs:149:5)
at async runCommand$1 (/Users/mendrinos/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.DSPrE7vg.mjs:1739:5)
at async runCommand$1 (/Users/mendrinos/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.DSPrE7vg.mjs:1758:11)
at async runCommand$1 (/Users/mendrinos/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.DSPrE7vg.mjs:1758:11)
at async runMain$1 (/Users/mendrinos/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.DSPrE7vg.mjs:1896:7) 

ERROR Could not load @nuxtjs/i18n. Is it installed? 11:06:06 PM
`

Additional context

No response

Logs

@beesolutiondev
Copy link

Same issue here

Node: v22.12.0
Same packges installed

@Tristwch
Copy link

Tristwch commented Jan 5, 2025

Same issue here

Node: v22.12.0 Same packges installed

I had the same. node v22.9.0 | yarn | "nuxt": "^3.15.0"

yarn add vite typescript helped in my case

"typescript": "^5.7.2" | "vite": "^6.0.7"

@lukas-a-brand
Copy link

@Tristwch not sure you need Vite as explicit dependency, as nuxt 3.15.x adds Vite 6.
But adding typescript as dev dependency fixed it. Thanks for the hint. (:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants