Unable to apply the patch file after running the npm script "postinstall": "patch-package"
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 325
- PR merge metrics
- No merged PRs in 30d
Description
When the developer pulls the changed patch file, the running instruction prompts that the patch file cannot be called.The following is the error message:
`/*
**ERROR** Failed to apply patch for package viewerjs at path
node_modules/viewerjs
This error was caused because patch-package cannot apply the following patch file:
patches/viewerjs+1.5.0.patch
Try removing node_modules and trying again. If that doesn't work, maybe there was
an accidental change made to the patch file? Try recreating it by manually
editing the appropriate files and running:
patch-package viewerjs
If that doesn't work, then it's a bug in patch-package, so please submit a bug
report. Thanks!
*/`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.