Skip to content

Commit

Permalink
try to fix 0.8 build
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed May 21, 2016
1 parent 59cf1a8 commit b8f115b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/ensure-compatible-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b8f115b

Please sign in to comment.