Can't patch package
See original GitHub issueJust installed patch-package@6.4.6 and modified my package in node_modules and tried to run npx patch-package lottie-react-native
but ended up with error.
npx patch-package lottie-react-native
patch-package 6.4.6
• Creating temporary folder
• Installing lottie-react-native@3.5.0 with npm
{
status: 1,
signal: null,
output: [ null, null, null ],
pid: 17928,
stdout: null,
stderr: null,
error: null
}
/Users/name/folder/appName/node_modules/patch-package/dist/makePatch.js:218
throw e;
^
{
status: 1,
signal: null,
output: [ null, null, null ],
pid: 17928,
stdout: null,
stderr: null,
error: null
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (1 by maintainers)
Top Results From Across the Web
patch-package - npm
patch -package lets app authors instantly make and keep fixes to npm dependencies. It's a vital band-aid for those of us living on...
Read more >Getting errors when patching a npm package - Stack Overflow
The problem here is that you're using two different tools to patch the npm package, and using a different one locally than in...
Read more >patch-package | Fix broken node modules instantly - YouTube
patch - package is a tool that has saved me a couple of times when I found a bug in an npm package...
Read more >patch-package - Bountysource
ERROR Failed to apply patch for package react-native at path ... patch-package 6.2.2 • Creating temporary folder TypeError: Cannot read property ...
Read more >Patch-package: Make and Preserve Fixes to Npm ... - Morioh
If it's a transitive dependency patch-package can't detect that it is safe to ignore and will throw an error. To fix this, mark...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
still get the same error at @v6.4.7 @ds300
patch-package 6.4.7 • Creating temporary folder • Installing ant-design-vue@2.1.6 with npm { status: 254, signal: null, output: [ null, null, null ], pid: 38727, stdout: null, stderr: null, error: null }
/Users/zhuguifeng/Documents/webank/init/node_modules/patch-package/dist/makePatch.js:218 throw e; ^ { status: 254, signal: null, output: [ null, null, null ], pid: 38727, stdout: null, stderr: null, error: null }
I ran into this issue trying to run
yarn patch-package <package_name>
invscode
terminal. It failed, but for some reason it mac’s terminal it worked fine without any changes applied topatch-package
. I checked and thenode
andyarn
versions were same between both terminals.