From b8f115be184421603a969bd7fec1f1cf29b0966b Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Sat, 21 May 2016 14:39:07 -0700 Subject: [PATCH] try to fix 0.8 build --- scripts/ensure-compatible-npm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ensure-compatible-npm.sh b/scripts/ensure-compatible-npm.sh index 9ae26c1ac0..54c5364e90 100755 --- a/scripts/ensure-compatible-npm.sh +++ b/scripts/ensure-compatible-npm.sh @@ -6,8 +6,9 @@ set -o errexit npm install semver if node -e "process.exit(require('semver').lt(process.argv[1], '1.3.7') ? 0 : 1)" $(npm -v); then # make sure dependencies install with provided npm version - npm install --production + npm install --production --ignore-scripts npm install -g npm@2 npm install -g npm + npm install fi npm uninstall semver