Skip to content

Commit 31d6f43

Browse files
committed
Also use older node-gyp for electron builds
1 parent b484cc2 commit 31d6f43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/release/kokoro-electron.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ call nvm use 10
2222

2323
call npm install -g npm
2424
@rem https://github.com/mapbox/node-pre-gyp/issues/362
25-
call npm install -g node-gyp
25+
call npm install -g node-gyp@4
2626

2727
cd /d %~dp0
2828
cd ..\..

tools/release/kokoro-electron.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ nvm install 10
2121
nvm use 10
2222
npm install -g npm
2323
# https://github.com/mapbox/node-pre-gyp/issues/362
24-
npm install -g node-gyp
24+
npm install -g node-gyp@4
2525

2626
set -ex
2727
cd $(dirname $0)/../..

0 commit comments

Comments
 (0)