pnpm: Process killed when trying to install using binary
pnpm version:
Latest(?)
Code to reproduce the issue:
curl -fsSL https://get.pnpm.io/install.sh | sh -
Expected behavior:
Install without issue
Actual behavior:
Install process failed with error:
./install.sh: line 82: 82335 Killed: 9 SHELL=$SHELL "$tmp_dir/pnpm" setup
Additional information:
node -v
prints: No node installed yet- Windows, macOS, or Linux?: macOS M1 MBP 8GB
~
❯ ./install.sh
arm64
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26846 100 26846 0 0 19039 0 0:00:01 0:00:01 --:--:-- 19039
==> Extracting pnpm binaries
./install.sh: line 82: 82335 Killed: 9 SHELL=$SHELL "$tmp_dir/pnpm" setup
~ took 4s
❯
After manually downloading the binary from the calculated url https://registry.npmjs.org/@pnpm/macos-arm64/-/macos-arm64-0.0.3-6.14.3.tgz
it seems the binary are “broken”
❯ cd package
~/package
❯ ls
LICENSE README.md package.json pnpm
~/package
❯ file pnpm
pnpm: Mach-O 64-bit executable arm64
~/package
❯ ./pnpm setup
[1] 82811 killed ./pnpm setup
~/package
❯
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (19 by maintainers)
@zkochan @apiep
I confirmed this works.
@apiep I found the cause of this problem. Would be fixed.