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

install failing on Mojave (osx 10.14.6) #36

Open
jakehawkes opened this issue Jan 14, 2020 · 5 comments
Open

install failing on Mojave (osx 10.14.6) #36

jakehawkes opened this issue Jan 14, 2020 · 5 comments

Comments

@jakehawkes
Copy link

Hi!

First saw this compile error on mainline noble, and saw a comment there that suggested this fork. I am seeing the same compile failure:

$ npm install @abandonware/noble

> xpc-connection@0.1.4 install /Users/jake/code/node_modules/xpc-connection
> node-gyp rebuild

CXX(target) Release/obj.target/binding/src/XpcConnection.o
 ../src/XpcConnection.cpp:26:77: error: too few arguments to function call, single argument 'context' was not
  specified
target->Set(Nan::New("XpcConnection").ToLocalChecked(), tmpl->GetFunction());
                                                      ~~~~~~~~~~~~~~~~~ ^
/Users/jake/Library/Caches/node-gyp/13.6.0/include/node/v8.h:6283:3: note: 'GetFunction' declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^

Node v13.6.0
npm v6.13.4

Both freshly installed.

@rzr
Copy link

rzr commented Jan 14, 2020

Relate-to: #34

Any opensource mac developer here ?

@jakehawkes
Copy link
Author

I'm not an expert, but I've been in the OSS world for many years now. Perhaps there is something I could do?

@rzr
Copy link

rzr commented Jan 14, 2020

Well it's you to decide but maybe setting up CI for building on MacOS could help.

@akx
Copy link

akx commented Feb 2, 2020

This seems to be a problem building xpc-connection, which probably hasn't been updated to new Node API standards.

I'm not immediately sure whether xpc-connection is a dependency of ours, but if it is, I think it'll also need the @abandonware fork treatment.

We haven't depended on xpc-connection since a74e4d3#diff-b9cfc7f2cdf78a7f4b91a753d10865a2 so I think this may be an artifact of mixing and matching node_modules directories.

@jakehawkes, can you attempt installing in an entirely new directory? /Users/jake/code/node_modules seems a little suspect :)

EDIT: Edited to reflect reality ✨

@rzr
Copy link

rzr commented Feb 3, 2020

Excellent Thanks again for:

sandeepmistry/node-xpc-connection#25 (comment)

Feel free to try to suggest @sandeepmistry to relocate project in @abandonware/maintainers.

I think pingged him several times but I don't think I got real feedback.

Relate-to: #2

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

3 participants