Closed Lineaire closed 4 years ago
Do you use node 12?
Same error here with node 13.2.0 and openzwave-1.6.963.tar.gz compiled from source on Raspbian :
...
../src/openzwave-groups.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE OZW::OZW::GetAssociationsInstances(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/openzwave-groups.cc:98:4: error: no matching function for call to ‘v8::Object::Set(v8::Localmake
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
gyp ERR! System Linux 4.19.75-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/openzwave-shared
gyp ERR! node -v v13.2.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! openzwave-shared@1.5.10 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openzwave-shared@1.5.10 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-11-25T18_37_03_996Z-debug.log
Many thank's inadvance for any help.
I’m experiencing the same issue as reported by @byte13
Same issue here.
This patch fixes the build. I'm absolutely not sure that it is correct at runtime though (I don't use groups).
Actually I made a pull request, see below
Many thank's Piec.
Hello, I'm having trouble installing the library. I install deb open-zwave but the problem persists ...