Skip to content

Vite discovered new dependencies at runtime #980

@Rolanddoda

Description

@Rolanddoda

Environment

Operating system Windows 10.0.26200
CPU 12th Gen Intel(R) Core(TM) i7-12700H (20 cores)
Node.js version v22.16.0
nuxt/cli version 3.34.0
Package manager npm@10.9.2
Nuxt version 4.4.2
Nitro version 2.13.3
Builder vite@7.3.1
Config compatibilityDate, devtools
Modules -

Reproduction

I simply created a minimal app with npm create nuxt@latest. This is what I get in the terminal:

Image

Describe the bug

The warning appears only when you run npm run dev for the first time.

Subsequent npm run dev won't display this warning because the dependencies get optimized.

Additional context

A tiny issue but it would be great to get this fixed so we don't display that warning the first time the app runs.

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions