Skip to content

pnpm getting stucked running npm commands when npm is not installed #3674

Description

@hronro

pnpm version: 6.13.0

Code to reproduce the issue:

When running commands like pnpm info react, the pnpm process ends immediately without any output.

When running commands like pnpm init or pnpm config get store-dir, the pnpm process getting stucked.

Expected behavior:

It should run those commands properly.

Additional information:

  • node -v prints: v16.6.2
  • Windows, macOS, or Linux?: macOS

I'm not sure the positioning of pnpm. If pnpm is an enhancement of npm, it is OK that every pnpm user need to install npm. If pnpm ia a replacement of npm, perhaps it's better to implement those command (init, config, info...) in pnpm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions