From c0cb2528bd0fe154e8e64211333f51c12393329b Mon Sep 17 00:00:00 2001 From: MickLesk Date: Mon, 6 Apr 2026 20:03:03 +0200 Subject: [PATCH] fix puter --- install/puter-install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install/puter-install.sh b/install/puter-install.sh index 8f0ad8c9..6c6d2af5 100644 --- a/install/puter-install.sh +++ b/install/puter-install.sh @@ -16,7 +16,8 @@ update_os msg_info "Installing Dependencies" $STD apt install -y \ build-essential \ - git + git \ + python3 msg_ok "Installed Dependencies" NODE_VERSION="24" setup_nodejs @@ -25,7 +26,9 @@ fetch_and_deploy_gh_release "puter" "HeyPuter/puter" "tarball" msg_info "Building Application" cd /opt/puter -$STD npm ci +node -e "const f=require('fs'),p=JSON.parse(f.readFileSync('package.json'));p.overrides={'better-sqlite3':'>=12.0.0'};f.writeFileSync('package.json',JSON.stringify(p,null,2))" +rm -f package-lock.json +$STD npm install cd /opt/puter/src/gui $STD npm run build cd /opt/puter