Skip to content

Using standalone pnpm on windows is not possible #6503

Description

@meeroslav

When using standalone pnpm on windows, the pnpm commands open a separate process window.

This is particularly problematic for CI, where process goes missing and CI reports successful step without ever waiting for the response from that process.

pnpm version: 8.4.0

Code to reproduce the issue:

  • Install standalone pnpm - npm i -g @pnpm/exe@latest
  • Checkout any repo with pnpm-lock.yaml (e.g. git clone git@github.com:pnpm/pnpm.git)
  • Run pnpm i --frozen-lockfile

Expected behavior:

  • Standalone pnpm runs in the same process window from which it was called

Actual behavior:

  • Notice how install process runs on a separate window and the original window reports process as done immediately

Additional information:

  • node -v prints: Irrelevant since @pnpm/exe comes prebundled with node
  • Windows, macOS, or Linux?: Windows

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions