From 56a7cfce8a3ed205f1a3f431cca6cecfb8358b5a Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Sat, 31 May 2025 15:03:20 +0100 Subject: [PATCH] fix: ensure npm install runs when Express version mismatch is detected MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Set should_update_deps=true when Express version mismatch is found - Previously, the installer would detect the mismatch but still skip npm install - This was causing the path-to-regexp error to persist even after detection The installer will now properly update dependencies when it detects that Express version is not 4.19.2. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- scripts/install-pulse.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install-pulse.sh b/scripts/install-pulse.sh index b829a59b6..f41ee9fc6 100755 --- a/scripts/install-pulse.sh +++ b/scripts/install-pulse.sh @@ -2211,6 +2211,7 @@ case "$INSTALL_MODE" in should_update_deps=false else print_warning "Express version mismatch detected ($current_express_ver vs 4.19.2). Will update dependencies." + should_update_deps=true fi cd .. fi