From e811af5fedfb7f2defb63a3bffc09d70da213b70 Mon Sep 17 00:00:00 2001 From: Darren Scerri Date: Tue, 21 Mar 2017 21:46:09 +0100 Subject: [PATCH] Install latest npm and explicitly clean npm cache for AppVeyor --- appveyor.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index d8f74a81c30..74bae7e8a31 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -31,7 +31,8 @@ install: # TODO: Remove after https://github.com/appveyor/ci/issues/1426 is fixed - set PATH=C:\Program Files\Git\mingw64\bin;%PATH% - ps: Install-Product node $env:nodejs_version $env:platform - - alias npm="npm cache clean && npm --force" + - npm install -g npm + - npm cache clean build: off