Comments (13)
This should be fixed now, in v3.4.1 - Thanks for your patience. Please feel free to reoopen the issue if you find it is still affecting you.
from patch-package.
Thanks again,
In git bash :
patch -p1 -i patches/react-native-navigation+1.1.213.patch --verbose
yarn patch-package react-native-navigation
I have the same error in the msdos prompt.
Thanks !
from patch-package.
PS: Everything is working well on OSX
from patch-package.
Hi! :)
Windows support is still a little shaky. Do you have the git core.autocrlf
property set to true
?
Try running
git config --global core.autocrlf true
And then check out the repo again, then let me know if it works this time.
from patch-package.
Thanks ds300 :)
Unfortunately no luck with core.autocrlf
set to true
from patch-package.
In that case, can you try running the following in git bash:
patch -p1 -i patches/react-native-navigation+1.1.213.patch --verbose
and if that doesn't report any errors, then run
yarn patch-package react-native-navigation
This should create a new version of the patch file. You should test it by removing node modules and running yarn
again. If the patch is applied successfully, it means it's somehow different to the previous version. Let me know how!
from patch-package.
Hmm ๐ค that seems to be a problem with yarn not invoking commands on windows properly. Looks like you're using an old version of yarn. Maybe you could upgrade yarn and try again?
from patch-package.
Better with a yarn update :)
Now the patch created by the last command is identical to the one i was having before ^^;
from patch-package.
so after creating that new patch, yarn patch-package
still fails?
from patch-package.
yes same error as my first message
from patch-package.
Any chance you could zip up the patch file and share it with me?
from patch-package.
Sure,
I've zip up 3 patches, same problem for each one of them
Thanks again,
from patch-package.
Thanks for the patch files! I've figured out what's causing this issue, and it goes away if I re-write the patch files to get rid of CRLFs before applying them, regardless of whether the source files they're patching have CRLFs or just LFs.
I'll push out a fix tonight. Thanks again for your issue report and the continued collaboration ๐ฏ
from patch-package.
Related Issues (20)
- Patching Git modules without version HOT 3
- Warn when patch exists for old version of package HOT 5
- [Proposal] Reduce `patch-package` installation size HOT 2
- [Discussion] Global patches HOT 1
- New patch parse failed
- Add new dependency to a package
- Does patch-package support node12? HOT 1
- Failed to apply patch for package react-native-agora HOT 1
- Is there a way to convert pnpm patches to patch-package patches? Or do they use the same format? HOT 2
- -
- Uniterpretable Error during makePatch HOT 6
- react-native-otp-verify+1.1.6.patch
- Confusing syntax error message when pointing to a package that does not exist
- Patch not applied after package upgrade
- inflight - Missing Release of Resource after Effective Lifetime HOT 1
- how get the post-install to run when installing cosmos (or storybook and the like)
- Patch cannot be applied when it simultaneously renames and modifies the file HOT 1
- npx patch-package [email protected] error HOT 1
- Not sure if I'm clear on how to re-apply updated patch...
- Can patch-package detect content changes in package.json? Let's say I changed a dependency version๏ผ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patch-package.