Skip to content

ERR_PNPM_PATCH_NOT_APPLIED  error when the subproject has patch dependencies #6183

@SoonIter

Description

@SoonIter

pnpm version: 7.29.0-2

Code to reproduce the issue:

  1. git clone https://github.com/SoonIter/pnpm-reproduction-patch-block

  2. pnpm install

├── node_modules
├── package.json
├── packages
│   └── a
│       ├── node_modules
│       └── package.json  -->>  @dagrejs/graph@2.1.11
├── patches
│   └── @dagrejs__graphlib@2.1.11.patch
├── pnpm-lock.yaml
└── pnpm-workspace.yaml
  1. modify package.json and add one line dependency

  2. rerun pnpm install and meet the error

Expected behavior:

install normally and do not block the whole process

Actual behavior:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions