From e236dde54f0ee12ce735a1f9f2e4fb7eb83caea5 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Thu, 11 Sep 2025 16:36:52 +0000 Subject: [PATCH] fix: install npm dependencies before building from source The build was failing because npm packages weren't installed. Now runs npm install in frontend-modern directory before running make build. --- install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install.sh b/install.sh index a0fe11fa6..76e67f5e6 100755 --- a/install.sh +++ b/install.sh @@ -1782,6 +1782,16 @@ main() { cd pulse-src + print_info "Installing frontend dependencies..." + cd frontend-modern + if ! npm install >/dev/null 2>&1; then + print_error "Failed to install frontend dependencies" + cd / + rm -rf "$TEMP_BUILD_DIR" + exit 1 + fi + cd .. + print_info "Building Pulse..." if ! make build >/dev/null 2>&1; then print_error "Build failed"