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..."