Skip to content

Warning: patch-package detected a patch file version mismatch #10416

@kennsippell

Description

@kennsippell

Describe the bug
Warning when running npm ci

To Reproduce
npm ci

Expected behavior

Logs

patch-package 8.0.1
Applying patches...
[email protected] ✔

Warning: patch-package detected a patch file version mismatch

  Don't worry! This is probably fine. The patch was still applied
  successfully. Here's the deets:

  Patch file created for

    [email protected]

  applied to

    [email protected]
  
  At path
  
    node_modules/prometheus-api-metrics

  This warning is just to give you a heads-up. There is a small chance of
  breakage even though the patch was applied successfully. Make sure the package
  still behaves like you expect (you wrote tests, right?) and then run

    patch-package prometheus-api-metrics

  to update the version in the patch file name and make this warning go away.

---
patch-package finished with 1 warning(s).

Environment
dev main, node v20

Metadata

Metadata

Assignees

Labels

Type: BugFix something that isn't working as intended

Type

Projects

Status

🔍 In Review

Relationships

None yet

Development

No branches or pull requests

Issue actions