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

Could not load @nuxtjs/i18n. Is it installed? #3318

Open
cyberz opened this issue Jan 21, 2025 · 2 comments
Open

Could not load @nuxtjs/i18n. Is it installed? #3318

cyberz opened this issue Jan 21, 2025 · 2 comments

Comments

@cyberz
Copy link

cyberz commented Jan 21, 2025

Environment


  • Operating System: Darwin
  • Node Version: v22.8.0
  • Nuxt Version: 3.15.2
  • CLI Version: 3.20.0
  • Nitro Version: 2.10.4
  • Package Manager: yarn@1.22.22
  • Builder: -
  • User Config: compatibilityDate, srcDir, devtools, experimental, components, css, modules, i18n, runtimeConfig, app, postcss, routeRules
  • Runtime Modules: @vee-validate/nuxt@4.15.0, @nuxtjs/i18n@9.1.2
  • Build Modules: -

Reproduction

npx nuxi@latest module add i18n cause the error

Describe the bug

yarn dev
 ERROR  Could not load @nuxtjs/i18n. Is it installed?                             8:44:27 PM

    at loadNuxtModuleInstance (node_modules/@nuxt/kit/dist/index.mjs:2472:11)
    at async installModule (node_modules/@nuxt/kit/dist/index.mjs:2395:67)
    at async initNuxt (node_modules/nuxt/dist/shared/nuxt.BoHAox-C.mjs:5339:5)
    at async loadNuxt (node_modules/nuxt/dist/shared/nuxt.BoHAox-C.mjs:5527:5)
    at async loadNuxt (node_modules/@nuxt/kit/dist/index.mjs:2642:19)
    at async Object.run (node_modules/@nuxt/cli/dist/chunks/prepare.mjs:30:18)
    at async runCommand (node_modules/citty/dist/index.mjs:316:16)
    at async runCommand (node_modules/citty/dist/index.mjs:307:11)
    at async runMain (node_modules/citty/dist/index.mjs:445:7) 



 ERROR  Could not load @nuxtjs/i18n. Is it installed?                             8:44:27 PM

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Additional context

yarn add @nuxtjs/i18n@8 - installed ok

@januarfonti
Copy link

Got the same error

- Operating System: `Darwin`
- Node Version:     `v22.13.0`
- Nuxt Version:     `3.15.2`
- CLI Version:      `3.20.0`
- Nitro Version:    `2.10.4`
- Package Manager:  `yarn@1.22.22`
- Builder:          `-`
- User Config:      `devtools`, `modules`, `app`, `vite`, `css`, `compatibilityDate`
- Runtime Modules:  `@pinia/nuxt@0.9.0`, `@nuxtjs/i18n@9.1.2`
- Build Modules:    `-`

@klichtenauer-iamds
Copy link

#3289 (comment)

This should help.

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

3 participants