Skip to content

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

@marcoippolito

Description

@marcoippolito

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions