diff --git a/tasks/e2e-installs.sh b/tasks/e2e-installs.sh index ebff7d13a7b..58864263247 100755 --- a/tasks/e2e-installs.sh +++ b/tasks/e2e-installs.sh @@ -95,11 +95,11 @@ fi if hash npm 2>/dev/null then - # npm 5.0-5.4.0 is too buggy + # npm 5 is too buggy right now if [ $(npm -v | head -c 1) -eq 5 ]; then - npm i -g npm@^5.4.1 + npm i -g npm@^4.x fi; - npm cache clean --force || npm cache verify + npm cache clean || npm cache verify fi # Prevent bootstrap, we only want top-level dependencies diff --git a/tasks/e2e-kitchensink.sh b/tasks/e2e-kitchensink.sh index 10bdc077931..ebbac271e6e 100755 --- a/tasks/e2e-kitchensink.sh +++ b/tasks/e2e-kitchensink.sh @@ -87,11 +87,11 @@ fi if hash npm 2>/dev/null then - # npm 5.0-5.4.0 is too buggy + # npm 5 is too buggy right now if [ $(npm -v | head -c 1) -eq 5 ]; then - npm i -g npm@^5.4.1 + npm i -g npm@^4.x fi; - npm cache clean --force || npm cache verify + npm cache clean || npm cache verify fi # Prevent bootstrap, we only want top-level dependencies diff --git a/tasks/e2e-simple.sh b/tasks/e2e-simple.sh index 84d095e9496..48d705eef4c 100755 --- a/tasks/e2e-simple.sh +++ b/tasks/e2e-simple.sh @@ -86,11 +86,11 @@ fi if hash npm 2>/dev/null then - # npm 5.0-5.4.0 is too buggy + # npm 5 is too buggy right now if [ $(npm -v | head -c 1) -eq 5 ]; then - npm i -g npm@^5.4.1 + npm i -g npm@^4.x fi; - npm cache clean --force || npm cache verify + npm cache clean || npm cache verify fi # Prevent bootstrap, we only want top-level dependencies