diff --git a/index.js b/index.js index 005d8ab..a587e61 100644 --- a/index.js +++ b/index.js @@ -189,6 +189,9 @@ function build (target, runtime, opts, cb) { if (runtime === 'electron') { args.push('--runtime=electron') args.push('--dist-url=https://atom.io/download/electron') + } else if (runtime === 'node') { + // work around bug introduced in node 10's build https://github.com/nodejs/node-gyp/issues/1457 + args.push('--build_v8_with_gn=false') } if (opts.debug) {