@@ -738,15 +738,15 @@ perform_update() {
738
738
fi
739
739
740
740
print_info " Installing NPM dependencies in $PULSE_DIR (root project directory)..."
741
- if npm install --unsafe-perm > /dev/null ; then # Redirect stdout
741
+ if npm install --unsafe-perm --silent ; then # Use npm's silent flag
742
742
print_success " NPM dependencies installed successfully in $PULSE_DIR ."
743
743
else
744
744
print_error " Failed to install NPM dependencies in $PULSE_DIR . See npm output above."
745
745
exit 1
746
746
fi
747
747
748
748
print_info " Building CSS assets in $PULSE_DIR ..."
749
- if npm run build:css > /dev/null ; then # Redirect stdout
749
+ if npm run build:css --silent ; then # Use npm's silent flag
750
750
print_success " CSS assets built successfully."
751
751
else
752
752
print_error " Failed to build CSS assets. See npm output above."
@@ -1460,15 +1460,15 @@ case "$INSTALL_MODE" in
1460
1460
# Install NPM dependencies (root and server, now consolidated) in PULSE_DIR
1461
1461
print_info " Installing NPM dependencies in $PULSE_DIR ..."
1462
1462
cd " $PULSE_DIR " || { print_error " Failed to cd to $PULSE_DIR before npm install" ; exit 1; }
1463
- if ! npm install --unsafe-perm > /dev/null ; then # Redirect stdout
1463
+ if ! npm install --unsafe-perm --silent ; then # Use npm's silent flag
1464
1464
print_error " Failed to install NPM dependencies. See output above."
1465
1465
exit 1
1466
1466
else
1467
1467
print_success " NPM dependencies installed."
1468
1468
fi
1469
1469
1470
1470
print_info " Building CSS assets in $PULSE_DIR ..."
1471
- if ! npm run build:css > /dev/null ; then # Redirect stdout
1471
+ if ! npm run build:css --silent ; then # Use npm's silent flag
1472
1472
print_error " Failed to build CSS assets. See output above."
1473
1473
exit 1 # This should be a fatal error for a fresh install
1474
1474
else
0 commit comments