From d11fa819855262e826b701c938fd12754f220970 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Fri, 4 Sep 2026 10:39:19 +0200 Subject: [PATCH] bentopdf: allow remote npm dependency for xlsx under npm v12 --- ct/bentopdf.sh | 2 +- install/bentopdf-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/bentopdf.sh b/ct/bentopdf.sh index 2c204a694..32f6d24e6 100644 --- a/ct/bentopdf.sh +++ b/ct/bentopdf.sh @@ -44,7 +44,7 @@ function update_script() { msg_info "Configuring BentoPDF" cd /opt/bentopdf - $STD npm ci --no-audit --no-fund + $STD npm ci --no-audit --no-fund --allow-remote=all export NODE_OPTIONS="--max-old-space-size=3072" export SIMPLE_MODE=true export VITE_USE_CDN=true diff --git a/install/bentopdf-install.sh b/install/bentopdf-install.sh index 875147739..2d67fec93 100644 --- a/install/bentopdf-install.sh +++ b/install/bentopdf-install.sh @@ -24,7 +24,7 @@ fetch_and_deploy_gh_release "bentopdf" "alam00000/bentopdf" "tarball" "latest" " msg_info "Setup BentoPDF" cd /opt/bentopdf -$STD npm ci --no-audit --no-fund +$STD npm ci --no-audit --no-fund --allow-remote=all cp ./.env.example ./.env.production export NODE_OPTIONS="--max-old-space-size=3072" export SIMPLE_MODE=true