diff --git a/adminfront/scripts/runtime-mode.sh b/adminfront/scripts/runtime-mode.sh index 3ec5ec5a..95ba9e53 100644 --- a/adminfront/scripts/runtime-mode.sh +++ b/adminfront/scripts/runtime-mode.sh @@ -61,7 +61,7 @@ ensure_frontend_dependencies() { echo "Installing frontend dependencies..." if [ "$WORKSPACE_DIR" = "/common" ]; then npm install -g pnpm - (cd /common && rm -rf node_modules .pnpm-store && echo "node-linker=hoisted" > .npmrc && CI=true pnpm install --store-dir /root/.pnpm-store) + (cd /common && npm install --legacy-peer-deps --no-fund --no-audit) else npm ci fi diff --git a/devfront/scripts/runtime-mode.sh b/devfront/scripts/runtime-mode.sh index ce0d1d97..cfcb285f 100644 --- a/devfront/scripts/runtime-mode.sh +++ b/devfront/scripts/runtime-mode.sh @@ -61,7 +61,7 @@ ensure_frontend_dependencies() { echo "Installing frontend dependencies..." if [ "$WORKSPACE_DIR" = "/common" ]; then npm install -g pnpm - (cd /common && rm -rf node_modules .pnpm-store && echo "node-linker=hoisted" > .npmrc && CI=true pnpm install --store-dir /root/.pnpm-store) + (cd /common && npm install --legacy-peer-deps --no-fund --no-audit) else npm ci fi diff --git a/orgfront/scripts/runtime-mode.sh b/orgfront/scripts/runtime-mode.sh index 77d6ea97..7d35fd0b 100644 --- a/orgfront/scripts/runtime-mode.sh +++ b/orgfront/scripts/runtime-mode.sh @@ -61,7 +61,7 @@ ensure_frontend_dependencies() { echo "Installing frontend dependencies..." if [ "$WORKSPACE_DIR" = "/common" ]; then npm install -g pnpm - (cd /common && rm -rf node_modules .pnpm-store && echo "node-linker=hoisted" > .npmrc && CI=true pnpm install --store-dir /root/.pnpm-store) + (cd /common && npm install --legacy-peer-deps --no-fund --no-audit) else npm ci fi