diff --git a/ct/metube.sh b/ct/metube.sh index 79d1e8b9553..907f92c0afa 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 ec64699df90..734cf583cc7 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