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

Cannot find module 'bluetooth-hci-socket' #32

Closed
jdpigeon opened this issue Nov 4, 2018 · 2 comments
Closed

Cannot find module 'bluetooth-hci-socket' #32

jdpigeon opened this issue Nov 4, 2018 · 2 comments

Comments

@jdpigeon
Copy link
Contributor

jdpigeon commented Nov 4, 2018

This error is encountered upon try to build the app from source on a new installation of Ubuntu 16 running Node 10.

The solution appears to be two part:

  1. Downgrade node (I was successful with v8.11.1). This is trivial with nvm. Cannot install on node 10 noble/node-bluetooth-hci-socket#84

  2. Install python 2 and make sure the node is configured to point to this installation. This is necessary in order for node-gyp to work, which builds native dependencies such as bluetooth-hci-socket. Support for Python 3 nodejs/node-gyp#1337

@teonbrooks
Copy link
Collaborator

bluetooth-hci-socket is a dependence on bleat. bleat has been deprecated for webbluetooth. #77 aims to remove these dependencies. final testing needs to be done on Windows; it has been updated to support webbluetooth in the latest electron

@teonbrooks
Copy link
Collaborator

closing bc of #131 completion. if this wasn't solved, please reopen

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

2 participants