From 0ac99744cbc1886c7d966c7f2474f5419a1ae740 Mon Sep 17 00:00:00 2001 From: Andrei Neculau Date: Wed, 18 Dec 2019 11:33:07 +0100 Subject: [PATCH] fix for npm@6.13.4 https://github.com/npm/cli/issues/611 --- ci/brew-install-node.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/brew-install-node.inc.sh b/ci/brew-install-node.inc.sh index d3e571ab..19d147bc 100644 --- a/ci/brew-install-node.inc.sh +++ b/ci/brew-install-node.inc.sh @@ -49,7 +49,7 @@ unset BREW_FORMULAE # allow npm upgrade to fail on WSL; fails with EACCESS IS_WSL=$([[ -e /proc/version ]] && cat /proc/version | grep -q -e "Microsoft" && echo true || echo false) -npm install --global npm@6 || ${IS_WSL} +npm install --global --force npm@6 || ${IS_WSL} npm install --global json@9 echo_done