patch-package
patch-package copied to clipboard
Fix broken node modules instantly 🏃🏽♀️💨
The "Use of bitwise '|' with boolean operands" error is fixed in React Native 0.69+. But we are currently using react-native 0.63.5, we have to apply the following patch to...
When I try to run `npm install --force` It said that ****ERROR** Failed to apply patch for package react-native-ui-lib at path node_modules/react-native-ui-lib This error was caused because patch-package cannot apply...
patch-package 8.0.0 Applying patches... [email protected] ✔ [email protected] ✔ [email protected] ✔ [email protected] ✔ [email protected] ✔ **ERROR** Failed to apply patch for package @rbmweb/canvas at path node_modules/@rbmweb/canvas This error was caused because...
What would be the syntax to patch a package, excluding the contents of the android\build folder? I tried --exclude "android\build" but it didn't work.
Under TypeScript `node16` module resolution, I often find myself needing to fix broken ESM types in packages by copying their type definition files ([example package](https://arethetypeswrong.github.io/?p=hls.js%401.5.13)). These diffs currently show a...
I have packages A and B, both written by myseld. B is a dependency of A. B is using patch-package internally. When developing B, npm install properly applies the patches....
``` $ ./node_modules/patch-package/index.js patch-package 6.2.2 Applying patches... [email protected] ✔ ethereumjs-abi/[email protected] ✔ ethereumjs-tx/[email protected] ✔ [email protected] ✔ [email protected] ✔ Error: Patch file found for package keccak which is not present at node_modules/web3-provider-engine/node_modules/keccak...
## Issue In our project, the `react-native-web` lib is referenced at two places and the respective version scheme for it is different, one is the `^0.19.12`, another is the `~0.19.12`,...