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

a different Node.js version using #46

Closed
edgexie opened this issue Sep 25, 2023 · 1 comment
Closed

a different Node.js version using #46

edgexie opened this issue Sep 25, 2023 · 1 comment

Comments

@edgexie
Copy link

edgexie commented Sep 25, 2023

my node v18.18.0
when run the node code , there is a error below in console:

Error: The module '/home/pi/raspi/bleno-starter/node_modules/@abandonware/bluetooth-hci-socket/build/Release/bluetooth_hci_socket.node'
was compiled against a different Node.js version using
@edgexie
Copy link
Author

edgexie commented Sep 25, 2023

It's my wrong . I link error version from nvm to /usr/local/bin.
Digression, bleno-hci-socket use root node, so I link nvm node to usr/local/bin. reference:

noble/node-bluetooth-hci-socket#110 (comment)

@edgexie edgexie closed this as completed Sep 25, 2023
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

1 participant