From 15b457b46d6f0a24e67d1ec3c0715a3527d8b37d Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 3 Sep 2026 16:04:50 +0200 Subject: [PATCH] romm: allow git-based npm dependency for rom-patcher under npm v12 (#16990) --- ct/romm.sh | 2 +- install/romm-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/romm.sh b/ct/romm.sh index 5372ca248..0bde57acb 100644 --- a/ct/romm.sh +++ b/ct/romm.sh @@ -65,7 +65,7 @@ function update_script() { $STD uv run alembic upgrade head if [[ -f /opt/romm/backend/utils/rom_patcher/package.json ]]; then cd /opt/romm/backend/utils/rom_patcher - $STD npm install --ignore-scripts --no-audit --no-fund + $STD npm install --ignore-scripts --no-audit --no-fund --allow-git=all if [[ -d node_modules/rom-patcher/rom-patcher-js ]]; then rm -rf rom-patcher-js cp -r node_modules/rom-patcher/rom-patcher-js ./rom-patcher-js diff --git a/install/romm-install.sh b/install/romm-install.sh index a9f46eec1..67eb5f308 100644 --- a/install/romm-install.sh +++ b/install/romm-install.sh @@ -214,7 +214,7 @@ msg_ok "Set up RomM Backend" if [[ -f /opt/romm/backend/utils/rom_patcher/package.json ]]; then msg_info "Building ROM Patcher helper" cd /opt/romm/backend/utils/rom_patcher - $STD npm install --ignore-scripts --no-audit --no-fund + $STD npm install --ignore-scripts --no-audit --no-fund --allow-git=all if [[ -d node_modules/rom-patcher/rom-patcher-js ]]; then rm -rf rom-patcher-js cp -r node_modules/rom-patcher/rom-patcher-js ./rom-patcher-js