fix: ensure npm install runs when Express version mismatch is detected

- 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 <noreply@anthropic.com>
This commit is contained in:
courtmanr@gmail.com
2025-05-31 15:03:20 +01:00
parent 03d51263e1
commit 56a7cfce8a
+1
View File
@@ -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