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

Cant install on Beaglebone Black #28

Closed
mradmilovic opened this issue May 4, 2016 · 1 comment
Closed

Cant install on Beaglebone Black #28

mradmilovic opened this issue May 4, 2016 · 1 comment

Comments

@mradmilovic
Copy link

I installed all prerequisites for noble package, and this package is its dependency. I can't install this package and the usb adapter is working fine with hcitool.

node-gyp rebuild

make: Entering directory /var/lib/cloud9/BluetoothWeb/node_modules/noble/node_modules/bluetooth-hci-socket/build' CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o In file included from ../src/BluetoothHciSocket.cpp:8:0: ../node_modules/nan/nan.h:330:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’ make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1 make: Leaving directory/var/lib/cloud9/BluetoothWeb/node_modules/noble/node_modules/bluetooth-hci-socket/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 3.8.13-bone70
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /var/lib/cloud9/BluetoothWeb/node_modules/noble/node_modules/bluetooth-hci-socket
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"

I tried everything but it's not working yet! Please help

@sandeepmistry
Copy link
Collaborator

@MarinRadmilovic as per nodejs/nan#414 and nodejs/nan#394 I suggest you upgrade your version of Node.js and/or npm.

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