romm: allow git-based npm dependency for rom-patcher under npm v12 (#16990)

This commit is contained in:
CanbiZ (MickLesk)
2026-09-03 16:04:50 +02:00
committed by GitHub
parent bfc6bd176b
commit 15b457b46d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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