bluefluff
bluefluff copied to clipboard
Fluffd finds furby and connects, then fails
Hello everyone, first time post here. I am having an issue, fluffd seems to find the furby and connect but then fails. I have the following js error when attempting to execute:
EDIT: I should mention that I am running this on Ubuntu 17.10
~/Furby/bluefluff-master/fluffd$ sudo node fluffd.js info: Discovered Furby: da8db8039617 /home/llama/Furby/bluefluff-master/fluffd/fluffcon.js:234 let characteristicUUIDs = Object.values(FURBY.CHARACTERISTIC); ^
TypeError: Object.values is not a function
at /home/llama/Furby/bluefluff-master/fluffd/fluffcon.js:234:36
at Peripheral.
You are most likely running an older node.js version. You will need node.js version 7.0 or later in order to run fluffd. Unfortunately, Ubuntu ships somewhat outdated node.js packages, you probably got version 6 from the repositories.
ah okay! I'll try to get 7.0 up when I get home later this evening and report back how it works. I appreciate the tip thank you!
I found my problem, 7.x is EOL and no longer supported on the version of Ubuntu I am running. Looks like I'll have to go to an older distro, or try to compile with 8.x.... :(
Alright I installed Mint as I could get nodejs 7.x on it. Got that installed, but when I Run npm install, it throws all sorts of errors :( It seems it does not want to install some dependencies but I am unsure why.