Closed kanikashah90 closed 5 years ago
build_v8_with_gn
is coming from Node.js v10's common.gypi. As a workaround you can pass --build_v8_with_gn=false
to node-gyp or npm.
Does it also happen with node-gyp 3.6.0?
The workaround worked. Thanks :)
Yeah, it also happens with node-gyp 3.6.0
I am trying to build a native module on Node version 6.12.3 with target set to Node version 10.x. But the
node-gyp
command error out message:gyp: name 'build_v8_with_gn' is not defined while evaluating condition 'build_v8_with_gn == "true"' in binding.gyp while trying to load binding.gyp
Here are the commands I am invoking:
The same issue is seen here https://github.com/mafintosh/prebuildify/issues/10 and there are insights on how to reproduce it.