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

[Bug?]: wrong peer dependencies reporting #6436

Closed
1 task
indooorsman opened this issue Aug 5, 2024 · 1 comment
Closed
1 task

[Bug?]: wrong peer dependencies reporting #6436

indooorsman opened this issue Aug 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@indooorsman
Copy link
Contributor

Self-service

  • I'd be willing to implement a fix

Describe the bug

from yarn v4.3, when I run yarn it reports many pee-dependencies-missing warnings while for v4.2 it didn't

To reproduce

I created a repo as an example: https://github.com/indooorsman/yarn-peers-warning/tree/main , to reproduce:

  1. clone this repo
  2. cd yarn-4-4 && yarn

image

Environment

System:
    OS: macOS 14.3.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Binaries:
    Node: 20.16.0 - /private/var/folders/qd/qpdt2c0s2yn3cgyy8zww0w240000gn/T/xfs-5e6bf657/node
    Yarn: 4.4.0 - /private/var/folders/qd/qpdt2c0s2yn3cgyy8zww0w240000gn/T/xfs-5e6bf657/yarn
    npm: 10.8.1 - ~/Library/Caches/fnm_multishells/66866_1722825057287/bin/npm
    pnpm: 9.1.2 - ~/Library/pnpm/pnpm

Additional context

No response

@indooorsman indooorsman added the bug Something isn't working label Aug 5, 2024
@clemyan
Copy link
Member

clemyan commented Aug 5, 2024

Not reporting a peer warning in this case was a bug that was fixed in 4.3.0. See #6364.

You need a dev dependency on react in package-a

@clemyan clemyan closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants