question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Patch fails when created with v5

See original GitHub issue

I get the following

This error was caused because Git cannot apply the following patch file:
    patches/react-scripts+1.0.17.patch
  This is usually caused by inconsistent whitespace in the patch file.

when CI tries to apply the patch that I created locally (OSX) with patch package 5. Downgrading to v3 resolves the issue.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:34 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
davidlamponcommented, Apr 20, 2018

@ds300 Maybe it’s because we are behind a private npm repo but we (both of us) only have the chance to install up to 5.1.1. Please, ignore this if we are the only ones reporting the problem.

Update: indeed it was, fixed now by our internal IT team =) Update2: v6.0.0-3 fixed the white space problem. Thanks!

2reactions
ds300commented, Mar 22, 2018

Thanks for the detailed tips Liisa!

Update for this thread: Last night I made a lot of progress working on custom pure-TypeScript patch application. That will make these errors go away soon.

On Thu, 22 Mar 2018, 08:28 Liisa Duerig-Laitinen, notifications@github.com wrote:

I’ll keep that in mind next time around, thanks for the tip @dinvlad https://github.com/dinvlad.

I hope this issue finds a solution, this is an incredibly useful module. @ds300 https://github.com/ds300 , thanks so much for the great work on this!

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/ds300/patch-package/issues/36#issuecomment-375216238, or mute the thread https://github.com/notifications/unsubscribe-auth/ABL1qQEqCsTc1vKjkVYxBta0f7MbmAKmks5tg2CXgaJpZM4Q-Wpv .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Search - Rockwell Automation
Patch : Restoring a v5.10 MER file fails on View v12 with Failed to restore the application, FactoryTalk Services 6.20/6.21 · Search.
Read more >
Patch Management for Skype v5.9.0.115 - Ivanti Community
Manually running the command that patch manager uses to install this update, ... DownloadPatch ERROR: Failed to run commands (80004005).
Read more >
TBC v5.61 Patch Released On Dec 22nd 2022 - RPS News
Per 0.1”. This patch release fixes the following issues: An error could occur when you reopened a project after using the View Filter...
Read more >
Patch Management Cumulative 7.6 Hot Fix (HF) 7 v5
Made changes to the Vendor Listing on the PMImport and it now fails when the Delete option is enabled. Software Update policy ProgramItems...
Read more >
ROOT Version v5-34-00 Patch Release Notes
In TTeXDump the underscore _ produced an error outside the TeX math context. TLatex: Improve the square-root drawing in case it is small....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found