From ebb8b098dd471022e8a6457b77a2772313b48bea Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 22 Dec 2025 23:25:19 +0100 Subject: [PATCH] MediaManager) use npm install (#10228) * fix(mediamanager): use npm install and remove unused yq dependency - Use npm install instead of npm ci because upstream package-lock.json is out of sync with package.json (missing esbuild@0.27.2) - Remove setup_yq call as yq is not used anywhere in the script (config is handled via sed) * . * Change npm command from ci to install --- ct/mediamanager.sh | 2 +- install/mediamanager-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/mediamanager.sh b/ct/mediamanager.sh index e407fc2a6..27a21f70f 100644 --- a/ct/mediamanager.sh +++ b/ct/mediamanager.sh @@ -44,7 +44,7 @@ function update_script() { export PUBLIC_API_URL="" export BASE_PATH="/web" cd /opt/mediamanager/web - $STD npm ci --no-fund --no-audit + $STD npm install --no-fund --no-audit $STD npm run build rm -rf "$FRONTEND_FILES_DIR"/build cp -r build "$FRONTEND_FILES_DIR" diff --git a/install/mediamanager-install.sh b/install/mediamanager-install.sh index c379aab5c..e4df66fb4 100644 --- a/install/mediamanager-install.sh +++ b/install/mediamanager-install.sh @@ -49,7 +49,7 @@ export PUBLIC_VERSION="" export PUBLIC_API_URL="" export BASE_PATH="/web" cd /opt/mediamanager/web -$STD npm ci --no-fund --no-audit +$STD npm install --no-fund --no-audit $STD npm run build mkdir -p {"$MM_DIR"/web,"$MEDIA_DIR","$CONFIG_DIR"} cp -r build "$FRONTEND_FILES_DIR"