diff --git a/scripts/common_startup.sh b/scripts/common_startup.sh index 48f1f936ec2b..4c8cf730c5bf 100755 --- a/scripts/common_startup.sh +++ b/scripts/common_startup.sh @@ -199,7 +199,7 @@ fi # Install node if not installed if [ -n "$VIRTUAL_ENV" ]; then - if ! in_venv "$(command -v node)" || [ "$(node --version)" != "v${NODE_VERSION}" ]; then + if ! command -v node >/dev/null || [ "$(node --version)" != "v${NODE_VERSION}" ]; then echo "Installing node into $VIRTUAL_ENV with nodeenv." if [ -d "${VIRTUAL_ENV}/lib/node_modules" ]; then echo "Removing old ${VIRTUAL_ENV}/lib/node_modules directory."