From 0fe935a486495778d4bf1b7eee3560c13c9ced30 Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 10 Sep 2024 19:23:45 +0500 Subject: [PATCH] Update upload_fs script --- upload_fs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upload_fs.sh b/upload_fs.sh index 62aea1e..8fef588 100755 --- a/upload_fs.sh +++ b/upload_fs.sh @@ -7,7 +7,8 @@ set +v echo "Building..." cd ./www || (echo "No directory ./www" && exit 1) -npm run build || (echo "Failed" && exit 2) +npm install || (echo "Unable to install npm packages" && exit 2) +npm run build || (echo "Failed" && exit 3) cd .. echo "Compress..."