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

bluetooth-hci-socket not installing #35

Closed
ccimrie opened this issue Jan 8, 2019 · 7 comments
Closed

bluetooth-hci-socket not installing #35

ccimrie opened this issue Jan 8, 2019 · 7 comments

Comments

@ccimrie
Copy link

ccimrie commented Jan 8, 2019

Hi,

I've recently got a sphero mini and found your repo. I'm having difficulties unfortunately with the installation. Specifically when I do

yarn install

I get build errors when it comes to bluetooth-hci-socket. I've also never done javascript before (hoping this would be a great way to learn!) so I researched into this and there seems to be a general problem with bluetooth-hci-socket and higher node versions. I found that going back to version 8 would fix the problem, however if I do that then I encounter the error:

The engine "node" is incompatible with this module. Expected version ">=10.0.0". Got "4.2.6"

Thanks!

@igbopie
Copy link
Owner

igbopie commented Jan 17, 2019

Hi!

Sorry for the delay, looks like your node version is not 8, is 4.2.0. Also, for some other issues with other lib, I had to specify node > 10. You can manually disable that restriction removing the engine section in the package json.

Let me now!

@igbopie
Copy link
Owner

igbopie commented Mar 13, 2019

Yes, looks like for the raspberry, in order to compile bluetooth-hci-socket you need node 8:

noble/noble#253

Maybe I need to remove that node restriction.

@igbopie
Copy link
Owner

igbopie commented Apr 7, 2019

Removed the restriction. You should use node 8. I need to update docs to reflect that.

@ivesdebruycker
Copy link
Contributor

bluetooth-hci-socket also won't compile on node 10: noble/node-bluetooth-hci-socket#84
It seems both noble and bluetooth-hci-socket are abandoned, so the abandonware forks should be used..

@igbopie
Copy link
Owner

igbopie commented Jul 3, 2019

Yes, but I made a specific fix for raspberry. I need to test that too.

@gazialankus
Copy link

gazialankus commented Feb 4, 2020

I can't yarn install it in Raspberry Pi 4, either. Nodejs v10.15.2. I had used the abandonware version fine when trying to use cylon.js.

@github-actions
Copy link

github-actions bot commented Nov 2, 2020

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants