diff --git a/bootstrap.sh b/bootstrap.sh old mode 100644 new mode 100755 index bf290d6..897d009 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -226,7 +226,7 @@ function build_website() { copy_website_files return 0; fi - if [ "$CONFIG_INSTALL_DEPS" != "" ]; then + if [ "$CONFIG_INSTALL_DEPS" != "" ] || [ ! -d node_modules ]; then echo "-- Installing NPM deps ..." npm install __assert "install NPM deps failed"