pnpm add yo gives unmet peer dependency warning
LandonSchropp opened this issue Β· comments
Landon Schropp commented
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
(runyo --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
:
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
Marcelo Shima commented
Landon Schropp commented
Cool, seems like this is already being worked on then. Thanks!
Marcelo Shima commented
I donβt know if pnpm supports acceptDependencies.
You may create an issue in pnpm repo.