Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR_PNPM_PATCH_NOT_APPLIED  error when the subproject has patch dependencies #6183

Closed
SoonIter opened this issue Mar 5, 2023 · 1 comment · Fixed by #6184
Closed

ERR_PNPM_PATCH_NOT_APPLIED  error when the subproject has patch dependencies #6183

SoonIter opened this issue Mar 5, 2023 · 1 comment · Fixed by #6184
Milestone

Comments

@SoonIter
Copy link
Contributor

SoonIter commented Mar 5, 2023

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

@technophile-04
Copy link

Hey guys the solution in #6183 dosen't seem to solve the problem if you have shared-lock-files = false in .npmr, I have created an issue at #6885

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

Successfully merging a pull request may close this issue.

3 participants