Tried to get the new version with ant+ installed/working and I'm getting the following error. I also tried installing olympum/ant-plus separately, and ant-cycling-power and running the test.js, and getting the same error.
Anyone have any tips based on this error message?
$ ~/waterrower-ble $ DEBUG=usb,ble,ant node main.js --test
ble [BLE] {"heart_rate":0,"watts":0,"rev_count":0} +0ms
module.js:341
throw err;
^
Error: Cannot find module './build/ant'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)
at Object. (/home/pi/waterrower-ble/node_modules/ant-plus/ant-plus.js:2:11)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
I can only find this "build" folder in the ant-plus directory and it doesn't seem to have anything called "ant":
~/waterrower-ble/node_modules/ant-plus/node_modules/usb/build $ ls
action_after_build.target.mk config.gypi libusb.target.mk Release
binding.Makefile libusb.Makefile Makefile usb_bindings.target.mk
Thanks for any help/tips.
Tried to get the new version with ant+ installed/working and I'm getting the following error. I also tried installing olympum/ant-plus separately, and ant-cycling-power and running the test.js, and getting the same error.
Anyone have any tips based on this error message?
$ ~/waterrower-ble $ DEBUG=usb,ble,ant node main.js --test
ble [BLE] {"heart_rate":0,"watts":0,"rev_count":0} +0ms
module.js:341
throw err;
^
Error: Cannot find module './build/ant'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)
at Object. (/home/pi/waterrower-ble/node_modules/ant-plus/ant-plus.js:2:11)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
I can only find this "build" folder in the ant-plus directory and it doesn't seem to have anything called "ant":
~/waterrower-ble/node_modules/ant-plus/node_modules/usb/build$ lsaction_after_build.target.mk config.gypi libusb.target.mk Release
binding.Makefile libusb.Makefile Makefile
usb_bindings.target.mkThanks for any help/tips.