From 169203458ad129906ce182038a43d6596917fd23 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Sat, 11 Apr 2026 22:14:42 +0200 Subject: [PATCH] MeTube: Allow pnpm build scripts to fix ERR_PNPM_IGNORED_BUILDS --- 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