yeoman / yo

CLI tool for running Yeoman generators

Home Page:http://yeoman.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pnpm add yo gives unmet peer dependency warning

LandonSchropp opened this issue Β· comments

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

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

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