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 @rstore/nuxt. Is it installed? #22

Closed
6 tasks done
cannap opened this issue Mar 19, 2025 · 3 comments
Closed
6 tasks done

Could not load @rstore/nuxt. Is it installed? #22

cannap opened this issue Mar 19, 2025 · 3 comments

Comments

@cannap
Copy link

cannap commented Mar 19, 2025

Describe the bug

Hello

i just updated nuxt to 3.16.1

now i get

ERROR  Cannot restart nuxt:  Could not load @rstore/nuxt. Is it installed?                                                                                                                         nuxi  19:52:59

    at loadNuxtModuleInstance (/W:/ai/rekademo/node_modules/@nuxt/kit/dist/index.mjs:2569:9)
    at async installModule (/W:/ai/rekademo/node_modules/@nuxt/kit/dist/index.mjs:2480:67)
    at async initNuxt (/W:/ai/rekademo/node_modules/nuxt/dist/shared/nuxt.DQBGBwNc.mjs:5785:5)
    at async NuxtDevServer._load (/W:/ai/rekademo/node_modules/@nuxt/cli/dist/chunks/dev2.mjs:161:5)
    at async NuxtDevServer.load (/W:/ai/rekademo/node_modules/@nuxt/cli/dist/chunks/dev2.mjs:95:7)
    at async _applyPromised (/W:/ai/rekademo/node_modules/perfect-debounce/dist/index.mjs:54:10)

Info

bun x nuxi info
Working directory: W:/ai/rekademo                                                                                                                                                                   nuxi  19:54:43
Nuxt project info: (copied to clipboard)                                                                                                                                                            nuxi  19:54:43

------------------------------
- Operating System: Windows_NT
- Node Version:     v20.5.0
- Nuxt Version:     3.16.1
- CLI Version:      3.23.1
- Nitro Version:    2.11.7
- Package Manager:  [email protected]
- Builder:          -
- User Config:      modules, ssr, devtools, vite, css, future, compatibilityDate, eslint, sentry, sourcemap
- Runtime Modules:  @nuxt/[email protected], @nuxt/[email protected], @nuxt/[email protected], @rstore/[email protected], @sentry/nuxt/[email protected]

i also forced the update via nuxi upgrade
also delete node_modules .nuxt and lock file!

Reproduction

System Info

-

Used Package Manager

npm

Validations

@cannap
Copy link
Author

cannap commented Mar 19, 2025

sry forgot my package.json

{
  "name": "nuxt-app",
  "type": "module",
  "private": true,
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev --host",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "dependencies": {
    "@nuxt/eslint": "1.2.0",
    "@nuxt/icon": "1.11.0",
    "@rstore/nuxt": "^0.5.6",
    "@sentry/nuxt": "9",
    "@tailwindcss/vite": "^4.0.14",
    "nuxt": "^3.16.1",
    "tailwindcss": "^4.0.14",
    "vue": "^3.5.13",
    "vue-router": "^4.5.0"
  },
  "devDependencies": {
    "@antfu/eslint-config": "^4.10.1",
    "@nuxt/devtools": "2.2.1",
    "@vue-macros/nuxt": "^1.13.5",
    "@vueuse/core": "12.7.0",
    "@vueuse/nuxt": "12.7.0",
    "eslint": "^9.22.0",
    "eslint-config-prettier": "^10.1.1",
    "eslint-plugin-format": "^1.0.1",
    "eslint-plugin-json-format": "^2.0.1",
    "eslint-plugin-jsonc": "^2.19.1",
    "eslint-plugin-prettier": "^5.2.3",
    "eslint-plugin-tailwindcss": "^3.18.0"
  },
  "trustedDependencies": [
    "@parcel/watcher",
    "esbuild"
  ]
}

@alex-red
Copy link

alex-red commented Mar 19, 2025

Seeing a similar issue with the latest nuxt as well:

ERROR  Error while importing module @rstore/nuxt: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/akryum/Projects/rstore/node_modules/.pnpm/[email protected]/node_modules/jiti/lib/index.js' imported from /Users/red/some_project/node_modules/jiti/lib/jiti.mjs

found the issue here: https://www.npmjs.com/package/@rstore/nuxt/v/0.5.6?activeTab=code

seems like issue is with 0.5.6, 0.5.5 works fine, some simple CI misconfig probably?

@Akryum
Copy link
Collaborator

Akryum commented Mar 20, 2025

It should be fixed in 0.5.7 🙏

@Akryum Akryum closed this as completed Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants