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

Issues with node-gyp, node-mdns, node 6.9.1 and osx 10.12 Sierra #1979

Closed
hugohil opened this issue Nov 22, 2016 · 5 comments
Closed

Issues with node-gyp, node-mdns, node 6.9.1 and osx 10.12 Sierra #1979

hugohil opened this issue Nov 22, 2016 · 5 comments

Comments

@hugohil
Copy link

hugohil commented Nov 22, 2016

Hi!

I tried using yarn to install node-mdns, and got these issues with node-gyp:

In file included from ../src/dns_sd.cpp:1:
In file included from ../src/mdns.hpp:12:
../../nan/nan.h:602:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
      v8::Isolate::GCEpilogueCallback callback
      ~~~~~~~~~~~~~^
../../nan/nan.h:608:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
      v8::Isolate::GCEpilogueCallback callback) {
      ~~~~~~~~~~~~~^
../../nan/nan.h:613:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
      v8::Isolate::GCPrologueCallback callback
      ~~~~~~~~~~~~~^
../../nan/nan.h:619:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
      v8::Isolate::GCPrologueCallback callback) {
      ~~~~~~~~~~~~~^

After brew upgrade, I was able to run it with npm, which is why I'm posting this issue here and not on the node-mdns repository.

Darwin 16.0.0 (OS X 10.12)
node -v v6.9.1
node-gyp -v v3.4.0

Any idea on what might cause this ?
Thanks!

@wyze
Copy link
Member

wyze commented Nov 22, 2016

What version of yarn are you using? And is this with a yarn add or yarn install?

@hugohil
Copy link
Author

hugohil commented Nov 22, 2016

I'm using yarn 0.16.1 and the yarn add command.

@wyze
Copy link
Member

wyze commented Nov 22, 2016

Can you upgrade to the latest yarn version (0.17.8) and try again? I was able to run yarn add mdns successfully.

@hugohil
Copy link
Author

hugohil commented Nov 22, 2016

Indeed, I was too ! Sorry for for the time.

@wyze
Copy link
Member

wyze commented Nov 22, 2016

No worries!

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

2 participants