Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuxt build fails when using yarn berry plug-n-play mode #241

Open
LunaTK opened this issue Nov 6, 2021 · 0 comments
Open

Nuxt build fails when using yarn berry plug-n-play mode #241

LunaTK opened this issue Nov 6, 2021 · 0 comments

Comments

@LunaTK
Copy link

LunaTK commented Nov 6, 2021

Describe the bug

  • Nuxt >= v2.15.0 build fails with Yarn v3 PnP because of unmet peerDependency of @nuxt/components
    • @nuxt/components has peerDependency of consola, but nuxt itself does not has consola as a dependency
  • This unmet peerDependency is treated differently depending on the package manager.
    • Yarn v1 treats it as a warning
      yarn_v1
    • Yarn v3 PnP mode treats it as an error
      yarn_v3

Is there any reason for specifying consola as a peerDependency? If not necessary, I guess it would better be removed.

To Reproduce

Expected behavior

  • Nuxt build should succeed no matter which package manager is used

Screenshots
provided above

Additional context
none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant