Open mochechan opened 7 years ago
Which one did you use to run this program, MAC or raspberry?
It's fine with raspberry.
Could you describe how this condition happened for more detail?
HW, OS, node version?
Did you use sudo node app.js
to run without modification the program?
Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux
The following error msg sometimes occurs without keying in any option [1-4].
Hiver IoT starter Kit for BLE Application.
Please key in your option [1-4] and hit enter:
/home/pi/hiver-iot-kit-ble/node_modules/nedb/lib/datastore.js:77 if (err) { throw err; } ^
Error: "toString()" failed at Buffer.toString (buffer.js:495:11) at tryToString (fs.js:451:15) at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)