mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-24 04:07:16 +00:00
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.
This commit is contained in:
+10
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user