patch-package
patch-package copied to clipboard
Patch file parse error
All of a sudden, after over two years of working happily, I am getting an error when running npm install:
patch-package 6.5.1
Applying patches...
**ERROR** Failed to apply patch for package axios-https-proxy-fix
This happened because the patch file patches/axios-https-proxy-fix+0.17.1.patch could not be parsed.
If you just upgraded patch-package, you can try running:
patch -p1 -i patches/axios-https-proxy-fix+0.17.1.patch
npx patch-package axios-https-proxy-fix
Otherwise, try manually creating the patch file again.
axios-https-proxy-fix+0.17.1.patch
Seems to happen with many different versions on npm.
package.json includes this in the dev dependencies:
"patch-package": "^6.5.1"
I'm getting the same. it fails on it's own generated patch the next build.