Closed surilindur closed 8 months ago
+1. I'm encountering this too:
NPM: 8.19.3 Node: v18.13.0
Hmm, this was introduced in https://github.com/LinkedSoftwareDependencies/Components.js/commit/680c7cba0479879e334976680c16531403b4feb6#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 My bad, didn't look close enough at the modified scripts...
Released a fix as 5.5.1.
Issue type:
Description:
When version 5.5.0 is installed from NPM, it will try to do
yarn build
because of thepostinstall
script, which does not seem necessary because the package has already been built before publishing to NPM. The script also throws an error because the build script uses something calledscopy
.The
postinstall
script was added in commit 680c7cb, but thescopy
command has been there longer.I do not know what
scopy
is, but the script looks like it could be replaced withcp
. All the Google results I get forscopy
are about some kind of signal analysis toolkit.Could the
postinstall
script be either removed as unnecessary, thescopy
call replaced withcp
, or both? If needed, I can make either or both changes, but I wanted to ask for feedback before making a PR.Thank you in advance for your time!
Environment:
Crash log:
Yarn output (relevant part):
Contents of
/tmp/xfs-9407fa40/build.log
: