#[SOLVED] peaNUT Installation Failing

9 messages · Page 1 of 1 (latest)

dapper moss
#

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.

warm venture
#

Hmm. Next pnpm Issues 🥴

#

@mental hull maybe we should pin pnpm to 10? It looks Like 11 fvked up

lethal frost
#

Lolol

mental hull
#

@warm venture yea, in setup_nodejs?

warm venture
#

Already done with mobile. I force to 10 atm

mental hull
#

sounds good

modest needle
# warm venture <@417269852852453386> maybe we should pin pnpm to 10? It looks Like 11 fvked up

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)"

mental hull
#

we will pin it inside setup_nodejs() most likely so there are no changes to scripts needed