Also use older node-gyp for electron builds

This commit is contained in:
murgatroid99 2019-06-18 10:24:40 -07:00
parent b484cc2868
commit 31d6f4362c
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ call nvm use 10
call npm install -g npm
@rem https://github.com/mapbox/node-pre-gyp/issues/362
call npm install -g node-gyp
call npm install -g node-gyp@4
cd /d %~dp0
cd ..\..

View File

@ -21,7 +21,7 @@ nvm install 10
nvm use 10
npm install -g npm
# https://github.com/mapbox/node-pre-gyp/issues/362
npm install -g node-gyp
npm install -g node-gyp@4
set -ex
cd $(dirname $0)/../..