-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Describe the bug
- Nuxt >= v2.15.0 build fails with Yarn v3 PnP because of unmet peerDependency of
@nuxt/components
@nuxt/components
has peerDependency ofconsola
, butnuxt
itself does not hasconsola
as a dependency
- This unmet peerDependency is treated differently depending on the package manager.
Is there any reason for specifying consola
as a peerDependency? If not necessary, I guess it would better be removed.
To Reproduce
- Build nuxt@2.15.8 with yarn v3.1 (set
nodeLinker: pnp
in .yarnrc.yml) - Please refer to a reproduction repo (https://github.com/LunaTK/nuxt-components-peerdep-bug).
Expected behavior
- Nuxt build should succeed no matter which package manager is used
Screenshots
provided above
Additional context
none
Metadata
Metadata
Assignees
Labels
No labels