You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried everything—reinstalling node-gyp, downgrading NodeJS to 10.11.0, reinstalling Xcode Command Line Tools, etc. No dice. Anyone have a solution?
CXX(target) Release/obj.target/macadam/src/macadam_util.o
CXX(target) Release/obj.target/macadam/src/macadam.o
../src/macadam.cc:2009:18: error: no matching function for call to 'napi_get_value_bool'
status = napi_get_value_bool(env, param, flag);
^~~~~~~~~~~~~~~~~~~
/Users/account/.node-gyp/10.11.0/include/node/node_api.h:216:25: note: candidate function not viable: no known conversion from 'bool' to 'bool *' for 3rd argument; take the address of the argument with &
NAPI_EXTERN napi_status napi_get_value_bool(napi_env env,
^
1 error generated.
make: *** [Release/obj.target/macadam/src/macadam.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/account/.nvm/versions/node/v10.11.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/Users/account/.nvm/versions/node/v10.11.0/bin/node" "/Users/account/.nvm/versions/node/v10.11.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/account/00customapps/bmdtest/node_modules/macadam
gyp ERR! node -v v10.11.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
The text was updated successfully, but these errors were encountered:
I've tried everything—reinstalling node-gyp, downgrading NodeJS to 10.11.0, reinstalling Xcode Command Line Tools, etc. No dice. Anyone have a solution?
I'm on Mac OS X Catalina.
======
npm install --save macadam
CXX(target) Release/obj.target/segfault-handler/src/segfault-handler.o
SOLINK_MODULE(target) Release/segfault-handler.node
CXX(target) Release/obj.target/macadam/src/macadam_util.o
CXX(target) Release/obj.target/macadam/src/macadam.o
../src/macadam.cc:2009:18: error: no matching function for call to 'napi_get_value_bool'
status = napi_get_value_bool(env, param, flag);
^~~~~~~~~~~~~~~~~~~
/Users/account/.node-gyp/10.11.0/include/node/node_api.h:216:25: note: candidate function not viable: no known conversion from 'bool' to 'bool *' for 3rd argument; take the address of the argument with &
NAPI_EXTERN napi_status napi_get_value_bool(napi_env env,
^
1 error generated.
make: *** [Release/obj.target/macadam/src/macadam.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/Users/account/.nvm/versions/node/v10.11.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/Users/account/.nvm/versions/node/v10.11.0/bin/node" "/Users/account/.nvm/versions/node/v10.11.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/account/00customapps/bmdtest/node_modules/macadam
gyp ERR! node -v v10.11.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
The text was updated successfully, but these errors were encountered: