Skip to content

Repeat install doesn't update node_modules after supportedArchitectures change #9013

Description

@zkochan

Verify latest release

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

pnpm version

v10.0

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

No response

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

No response

Reproduction steps

Use pnpm.supportedArchitectures

run install

change pnpm.supportedArchitectures

run install

Describe the Bug

The second install does nothing

Expected Behavior

pnpm should download the new optional dependencies, when supported architectures change. The status check for optimistic repeat install doesn't check the values of the supported architectures settings.

Which Node.js version are you using?

any

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)

No response

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