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