diff --git a/src/bin/installDeps.sh b/src/bin/installDeps.sh index be7be1f36..3fe82a346 100755 --- a/src/bin/installDeps.sh +++ b/src/bin/installDeps.sh @@ -15,11 +15,11 @@ is_cmd node || fatal "Please install node.js ( https://nodejs.org )" is_cmd npm || fatal "Please install npm ( https://npmjs.org )" # Check npm version -require_minimal_version "npm" $(get_program_version "npm") \ +require_minimal_version "npm" "$(get_program_version "npm")" \ "$REQUIRED_NPM_MAJOR" "$REQUIRED_NPM_MINOR" # Check node version -require_minimal_version "nodejs" $(get_program_version "node") \ +require_minimal_version "nodejs" "$(get_program_version "node")" \ "$REQUIRED_NODE_MAJOR" "$REQUIRED_NODE_MINOR" # Get the name of the settings file