Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pnpm required version installation fails when dangerously-allow-all-builds is enabled #9472

@tusharsnx

Description

@tusharsnx

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

10.10.0

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

https://github.com/tusharsnx/Clouddy

Reproduction steps

  1. Clone the repository.
  2. Run pnpm i.

Describe the Bug

pnpm fails to install the required version of pnpm for the project. The --allow-build flag in the installation command conflicts with dangerously-allow-all-builds enabled in the config.

Image

Expected Behavior

Pnpm installs the required package manager version and installs the project dependencies with no issue.

Which Node.js version are you using?

22.15.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

Ubuntu 24.04

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions