-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Open
Copy link
Labels
Description
Describe the bug
Environment
[nuxi] Working directory: /home/user/Sites
[nuxi] Nuxt project info:
- Operating System: Linux
- Node Version: v22.19.0
- Nuxt Version: 4.1.3
- CLI Version: 3.29.2
- Nitro Version: 2.12.7
- Package Manager: bun@1.2.24
- Builder: -
- User Config: compatibilityDate, devtools, runtimeConfig, modules, image, css, nitro, typescript, alias
- Runtime Modules: @nuxt/image@1.11.0, @nuxt/ui@4.0.1, @vueuse/motion/nuxt@3.0.3
- Build Modules: -
👉 Report an issue: https://github.com/nuxt/nuxt/issues/new?template=bug-report.yml
👉 Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new
👉 Read documentation: https://nuxt.com
Reproduction
Describe the bug
Sometimes starting nuxt shows:
Uncaught (in promise) SyntaxError: The requested module '...@fs/node_modules/.cache/vite/client/deps/@vueuse_shared.js?v=a23923c4' does not provide an export named 'createRef' (at index.mjs?v=a23923c4:1:247)
Causing some libraries like @nuxt/ui not working correctly
(I have to reinstall node_modules but it happens again)
Additional context
No response
Logs
Reproduction
System Info
- Operating System: Linux
- Node Version: v22.19.0
- Nuxt Version: 4.1.3
- CLI Version: 3.29.2
- Nitro Version: 2.12.7
- Package Manager: bun@1.2.24
- Builder: -
- User Config: compatibilityDate, devtools, runtimeConfig, modules, image, css, nitro, typescript, alias
- Runtime Modules: @nuxt/image@1.11.0, @nuxt/ui@4.0.1, @vueuse/motion/nuxt@3.0.3
- Build Modules: -Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.