You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 20, 2025. It is now read-only.
This will install node v10.23.0 (latest stable release of node 10). You can replace the 10 with 12 if you want to install node 12. You may need to alias nodejs to node.
63
+
This will install node v12. You may need to alias nodejs to node.
Check the latest version of NVM before you install (it might be higher than v0.35.3). You can go online to learn how to use NVM to switch node versions on the fly.
@@ -79,9 +79,9 @@ It is important to note that because our scripts use OS level Bluetooth librarie
79
79
You also need to check that the version of node you are using is as expected for sudo:
80
80
```
81
81
$ node -v
82
-
v0.10.23
82
+
v12.22.10
83
83
$ sudo node -v
84
-
v0.11.8-pre
84
+
v12.22.10
85
85
```
86
86
As you can see here, the sudo node version is not the same as the current user version. Here's a [workaround](https://stackoverflow.com/questions/21215059/cant-use-nvm-from-root-or-sudo). You can google-fu more about this topic.
At the time of this release, Node 10 is supported. Node 12 is not currently supported as `node-ffi` and some other libraries have not been updated.
96
-
We have to use a custom fork of node-ffi until then (see package.json). Hopefully node-ffi will be updated to support Node 10 and Node 12 officially.
95
+
At the time of this release, Node 12 is supported. Node 14/16 is not currently supported as `node-ffi` and some other libraries have not been updated to support those versions.
97
96
98
97
Bluez 5.50 works but 5.54 might not work. Here's a good [tutorial](https://learn.adafruit.com/install-bluez-on-the-raspberry-pi/installation)
0 commit comments