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

Installation problems: ../src/socket_wrap.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SocketWrap::Context(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/socket_wrap.cc:99:45: error: no matching function for call to ‘v8::Value::ToObject()’ 99 | Local<Object> context = info[0]->ToObject(); | ^ #1

Open
marcoippolito opened this issue Jun 30, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@marcoippolito
Copy link

First I installed sodium-native and udp-native, with no errors.
Then I installed y-dat but got these error messages:

../src/socket_wrap.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE   
SocketWrap::Context(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/socket_wrap.cc:99:45: error: no matching function for call to ‘v8::Value::ToObject()’
   99 |   Local<Object> context = info[0]->ToObject();
     |                                             ^

I attach here the complete log of the installation:
y-datInstallConfig.txt

info:

(base) marco@pc01:~/webMatters/vueMatters/GGC$ vue info

Environment Info:

  System:
    OS: Linux 5.3 Ubuntu 18.04.4 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
  Binaries:
    Node: 14.3.0 - ~/.nvm/versions/node/v14.3.0/bin/node
    Yarn: 1.22.4 - /usr/bin/yarn
    npm: 6.14.5 - ~/.nvm/versions/node/v14.3.0/bin/npm
  Browsers:
    Chrome: 83.0.4103.116
    Firefox: 77.0.1

How to solve the problem?
Looking forward to your kind help.
Marco

@marcoippolito marcoippolito added the bug Something isn't working label Jun 30, 2020
@froger
Copy link

froger commented Mar 8, 2021

Hello @marcoippolito do you solved the issue ? Was quit a long time ago.

If it is still an issue, do you still have a package.json that you could post?

To help, and guessing you are on electron: it looks to me that y-dat requires dat-sdk that had problems at the time of your issue with electron because of sodium-native module. RangerMauve/hyper-sdk#56.

I think we won't be able to fix this issue from this package...
Hope you found a way!

@dmonad
Copy link
Member

dmonad commented Mar 8, 2021

Hi @froger, I don't have time to maintain this package at the moment. Unfortunately, there is little interest in this package and I would be maintaining it for too few people. If you find the issue, I'd happily accept a PR. If you find time to maintain it, I'd be happy to help you get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants