-
Notifications
You must be signed in to change notification settings - Fork 187
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
npm-gyp rebuild fails - Debian #112
Comments
The original attempt was with node 12.4.0 . I tried this first with node 10 and had also issues so I finally used node version 8.16.0 (by changing my current version to that with nvm) and managed to get it working. Leaving this open awaiting for a response to this, but if you're having issues going back to an earlier version of node seems to work. |
Compiling bluetooth-hci-socket on node v10.16 throws this error
|
Starting with node 10, v8.h NewInstance() requires an additional argument
|
I don't know enough about BluetoothHciSocket.cpp to fix it however. |
My local "fix" comments out the contents of the BluetoothHciSocket::emitErrnoError() so that the native module compiles. That's not a recommended technique. |
Not sure if it is my issue only, I failed to compile even with 8.16.0
|
Finally figure it out, I forgot to execute |
I'm having a similar issue. Am running node v11.15.0 on MacOS MoJave 10.14.6
|
Heya, if you don't absolutely need that version of node downgrading to node 8 and then rebuilding worked for me. It seems to be an issue with HciBluetoothSocket not supporting newer versions of Node. Look at the answers by johnwalicki above for more info. |
Hello,
I'm trying to install bleno-package (link) when it gets to the part where it tries installing this dependency, the build script fails.
My device is a Raspberry Pi 3 running Raspbian GNU/Linux 9.9 (stretch)
Here's the error trace:
Any suggestions? I reinstalled npm-gyp and node prior to this. They are fresh installs.
The text was updated successfully, but these errors were encountered: