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.

"There don't appear to be any changes" even though there are

See original GitHub issue

This is my first time trying to use patch-package. I followed the instructions, but it doesn’t recognize my changes. What am I doing wrong? More details below.

  1. I added "postinstall": "patch-package" inside scripts inside my project’s package-json.
  2. I ran npm i patch-package
  3. I modified the package that I had problems with. In particular, I modified this file: node_modules/react-simple-infinite-scroll/package.json.
  4. I ran npx patch-package infinite-scroll

I’m seeing this:

• Creating temporary folder
• Installing react-simple-infinite-scroll@0.0.1 with npm
• Diffing your files with clean files
⁉️  Not creating patch file for package 'react-simple-infinite-scroll'
⁉️  There don't appear to be any changes.

I’m guessing patch-package doesn’t support me modifying package.json inside a node module?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
dmatoracommented, Aug 3, 2021

I am having same issue getting (“There don’t appear to be any changes”) with trying to patch node_modules/@pooltogether/hooks/node_modules/@pooltogether/bnc-onboard/dist/esm/connect-5e218485.js which technically is not part of the repo I’ve created patch manually but when I try to apply it I’m getting an error

1reaction
MariusCatanoiucommented, Dec 18, 2019

Okay, thank you for the answer. I ended up using a different way to patch.

What way? 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can People Change? A Look at What's Realistic - Healthline
In most cases, change doesn't happen until someone wants it for themselves. If they don't seem willing to address problematic behaviors, waiting ...
Read more >
If your iCloud Contacts, Calendars, or Reminders won't sync
Open the Calendar app and tap the Calendars tab. Make sure that all iCloud calendars are selected. Change how often your calendars update:...
Read more >
Why Facts Don't Change Our Minds | The New Yorker
Why Facts Don't Change Our Minds. New discoveries about the human mind show the limitations of reason. By Elizabeth Kolbert.
Read more >
Symptoms - Schizophrenia - NHS
Read about symptoms of schizophrenia, including hallucinations, delusions, confused thoughts and changes in behaviour.
Read more >
Track changes in Word - Microsoft Support
No Markup hides the markup to show the document with changes incorporated ... There are multiple ways to address tracked changes. The most...
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