1.3.0 breaks on install
See original GitHub issueI have prism-react-renderer as dependency of my Docusaurus project and upon upgrading this package it breaks at yarn install
:
error /app/node_modules/prism-react-renderer: Command failed.
Exit code: 127
Command: patch-package
Arguments:
Directory: /app/node_modules/prism-react-renderer
Output:
/bin/sh: patch-package: not found
Issue Analytics
- State:
- Created 2 years ago
- Reactions:15
- Comments:5 (4 by maintainers)
Top Results From Across the Web
[RFC] 1.3.0 Release Candidate #6422 - dmlc/xgboost - GitHub
Breaking changes: Starting from 1.3.0 release, XGBoost no longer supports MacOS 10.13 (High Sierra). Known issue: Python packaging does not yet ...
Read more >Announcing Poetry 1.3.0 | Blog
Fix an issue where a package from the wrong source was installed for a multiple-constraints dependency with different sources (#6747).
Read more >Cant Install fltk-1.3.0 ! - Debian User Forums
Re: Cant Install fltk-1.3.0 ! ... You get that build error because ou are missing some build-depends. The error says you need to...
Read more >OHS (NATIVE) BUNDLE PATCH 12.2.1.3.0(ID:191219.2319 ...
1.3.0 (ID:191219.2319) Breaks Oracle Access Manager (OAM) WebGate - Resources Can No Longer Be Accessed (Doc ID 2652898.1).
Read more >unable to run librdkafka=1.3.0 over docker - Stack Overflow
This has the unfortunate side effect of breaking images that depend on specific package versions. The currently available librdkafka 1.
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
my sincerest apologies to all who ran into this today. way to go for my first release of this lib huh 😅
after further investigation (h/t to @ryan-roemer for the info above) the simplest solution was to move the
patch-package
invocation to aprebuild
script.when you think about it, this is actually when we want to modify
prism
so we can vendor it anyway. when a consuming project installsprism-react-renderer
there’s no need to repeat the modification.this solution avoids both needing to add
dependencies
and also avoids shipping the/patches
dir as part of our archive.My team is seeing a similar error when installing via
npm install
: