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

pnpm add yo gives unmet peer dependency warning #810

Closed
LandonSchropp opened this issue May 19, 2024 · 3 comments
Closed

pnpm add yo gives unmet peer dependency warning #810

LandonSchropp opened this issue May 19, 2024 · 3 comments

Comments

@LandonSchropp
Copy link

Type of issue

🐛 Bug


My environment

  • OS version/details: macoS 14.4.1
  • Node version: v21.4.0
  • pnpm version: 8.14.0 (the bug is related to pnpm)
  • Version of yo : x.x.x (run yo --version in your terminal)

Expected behavior

When installing yo in an empty repo, the installation should work without an error or warning.

Current behavior

Instead, I get a peer dependency warning for @yeoman/types:

Screenshot 2024-05-19 at 11 56 14 AM

Steps to reproduce the behavior

mkdir example
cd example
pnpm init
pnpm add yo

Command line output

WARN  Issues with peer dependencies found
.
└─┬ @yeoman/types 1.2.0
  └── ✕ unmet peer mem-fs@^3.0.0: found 4.1.0
@mshima
Copy link
Member

mshima commented May 20, 2024

@LandonSchropp
Copy link
Author

Cool, seems like this is already being worked on then. Thanks!

@mshima
Copy link
Member

mshima commented May 21, 2024

I don’t know if pnpm supports acceptDependencies.
You may create an issue in pnpm repo.

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

2 participants