Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,100 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
65/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript, vite
Lĩnh vực
build-system, devtools

Hướng nghiên cứu

Reproduce the warning with npm create nuxt@latest . followed by npm run dev, then locate the nuxt:devtools:config-retriever plugin implementation. Read how its configResolved hook is returned from applyToEnvironment; done means the warning no longer appears while the development server still builds successfully.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
🐛 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

Ngôn ngữ chính
TypeScript
Star
3.3k
Fork
214
Merge trung bình
19 giờ 29 phút
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nuxt/devtools

Tất cả issue của nuxt/devtools

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.