patch-package icon indicating copy to clipboard operation
patch-package copied to clipboard

Fix broken node modules instantly πŸƒπŸ½β€β™€οΈπŸ’¨

Results 243 patch-package issues
Sort by recently updated
recently updated
newest added

``` patch-package 6.5.0 β€’ Creating temporary folder β€’ Installing @sentry/[email protected] with yarn β€’ Diffing your files with clean files Error: ENOENT: no such file or directory, stat '/Users/me/Sites/project/node_modules/@sentry/react-native/node_modules/@sentry/cli/node_modules/.bin/mkdirp' at Object.statSync...

Hello, I am having few patches made for some library in the below screenshot. ![Screenshot 2022-12-21 at 2 13 51 PM](https://user-images.githubusercontent.com/113965106/208859828-e591d467-2a54-476a-83da-2ab98c58e5d5.png) Now i have updated few of them to a...

Tried with other packages. All other patches are working fine. But getting error for React-native version 0.63.5

![image](https://user-images.githubusercontent.com/40747362/195826917-6dd0ba88-15bb-4c94-a313-7763613310e5.png)

low context
no repro

minimist is buggy and deprecated i replaced minimist with dashdash in https://github.com/milahu/patch-package/commit/bf8e1e7a80ceb17165be5ed0f82f44465d14d7c1 related #412 related https://github.com/ds300/patch-package/issues/250#issuecomment-1289213063 ... and probably more issues with "argument parser is broken"

enhancement
you can do this

Have removed node modules and tried to reset using `npx patch-package react-contexify` and `npm i` with script `"postinstall": "prisma generate && patch-package"`, with the issue persisting. **ERROR** Failed to apply...

so we get pretty error messages add ```js encoding: "utf8", ``` to https://github.com/ds300/patch-package/blob/5c2c92bf504885fba4840870a23fc8999c00e572/src/spawnSafe.ts#L10-L13 currently we get binary output, for example ``` patch-package jest-snapshot patch-package 6.5.0 β€’ Creating temporary folder β€’...

enhancement
you can do this

I like the sentiment of patch-package. I wish it would automagically generate a PR for the source repo though (on its own in a scratch space or wherever). To make...

enhancement
feature request
you can do this