I've been trying to install peanut and keep running into the same error. Screenshot shows the error. I'm not sure what troubleshooting steps to take. I tried installing pnpm separately since it seems the script has to download it, but that didn't change anything. I'm running the script with default options except for adding a static IP and admin password.
#[SOLVED] peaNUT Installation Failing
9 messages · Page 1 of 1 (latest)
Hmm. Next pnpm Issues 🥴
@mental hull maybe we should pin pnpm to 10? It looks Like 11 fvked up
Lolol
@warm venture yea, in setup_nodejs?
Already done with mobile. I force to 10 atm
sounds good
This is because of pnpm 11 and is by design as a security feature. Devs need to explicitly approve running scripts. This is also present in pnpm 10 but was not mandatory.
You can either pin the pnpm@latest to 10 for now until devs figure it out or for apps that have packageManager defined in package.json use this in install script:
PNPM_VERSION="$(curl -fsSL "https://raw.githubusercontent.com/repo/app/refs/heads/main/package.json" | jq -r '.packageManager | split("@")[1]' | cut -d'+' -f1)"
we will pin it inside setup_nodejs() most likely so there are no changes to scripts needed