Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Install on Mac OS X Catalina #28

Open
johnnydanger opened this issue May 26, 2021 · 0 comments
Open

Can't Install on Mac OS X Catalina #28

johnnydanger opened this issue May 26, 2021 · 0 comments

Comments

@johnnydanger
Copy link

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

[email protected] install /Users/account/00customapps/bmdtest/node_modules/segfault-handler
node-gyp rebuild

CXX(target) Release/obj.target/segfault-handler/src/segfault-handler.o
SOLINK_MODULE(target) Release/segfault-handler.node

[email protected] install /Users/account/00customapps/bmdtest/node_modules/macadam
node-gyp rebuild

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant