Skip to content

fix: Plugin "nuxt:devtools:config-retriever" defines Vite-specific hooks #1100

Description

@mrleblanc101

🐛 The bug

npm create nuxt@latest .
npm run dev

» pnpm run dev
$ nuxt dev
│                                                                                                 11:47:24 PM
●  Nuxt 4.5.2 (with Nitro 2.13.4, Vite 8.3.1 and Vue 3.5.43)
                                                                                                  11:47:24 PM
  ➜ Local:    http://localhost:3000/
  ➜ Network:  use --host to expose

  ➜ DevTools: press Shift + Option + D in the browser (v3.4.2)                                    11:47:24 PM


[11:47:25 PM]  WARN  Plugin "nuxt:devtools:config-retriever" defines Vite-specific hooks (configResolved) in a plugin returned from applyToEnvironment. These hooks will be ignored.

✔ Vite client built in 33ms                                                                      11:47:25 PM

[11:47:25 PM]  WARN  Plugin "nuxt:devtools:config-retriever" defines Vite-specific hooks (configResolved) in a plugin returned from applyToEnvironment. These hooks will be ignored. (x2)

✔ Vite server built in 12ms                                                                      11:47:25 PM
✔ Nuxt Nitro server built in 452ms                                                         nitro 11:47:25 PM
ℹ Vite server warmed up in 5ms                                                                   11:47:25 PM
ℹ Vite client warmed up in 16ms

🛠️ To reproduce

https://stackblitz.com/

🌈 Expected behavior

No warning in the console

ℹ️ Additional context

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions