From 66ec27a1fbdc21b4c1bc9f145f271b012e3804b4 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sun, 12 Apr 2026 09:04:26 +0200 Subject: [PATCH] MeTube: Allow pnpm build scripts to fix ERR_PNPM_IGNORED_BUILDS (#13668) --- ct/metube.sh | 1 + install/metube-install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/ct/metube.sh b/ct/metube.sh index 79d1e8b95..907f92c0a 100644 --- a/ct/metube.sh +++ b/ct/metube.sh @@ -62,6 +62,7 @@ function update_script() { $STD corepack enable $STD corepack prepare pnpm --activate || true fi + echo 'onlyBuiltDependencies=*' >> .npmrc $STD pnpm install --frozen-lockfile $STD pnpm run build msg_ok "Built Frontend" diff --git a/install/metube-install.sh b/install/metube-install.sh index ec64699df..734cf583c 100644 --- a/install/metube-install.sh +++ b/install/metube-install.sh @@ -41,6 +41,7 @@ if command -v corepack >/dev/null 2>&1; then $STD corepack enable $STD corepack prepare pnpm --activate || true fi +echo 'onlyBuiltDependencies=*' >> .npmrc $STD pnpm install --frozen-lockfile $STD pnpm run build cd /opt/metube