@redloro I was able to get the driver working with my Mac, so I got brave and bought a raspberry PI3, running raspbian. I unfortunately am not having the same success. I am getting the following error and I’m pretty much out of ideas. Any help you could provide would be greatly appreciated. Thanks
npm run install:rnet
smartthings-nodeproxy@1.0.0 install:rnet /home/pi/smartthings-nodeproxy
npm install && npm install serialport@5.0.0
up to date in 2.462s
serialport@5.0.0 install /home/pi/smartthings-nodeproxy/node_modules/serialport
node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/5.0.0/serialport-v5.0.0-node-v59-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for serialport@5.0.0 and node@9.8.0 (node-v59 ABI) (falling back to source compile with node-gyp)
make: Entering directory ‘/home/pi/smartthings-nodeproxy/node_modules/serialport/build’
CXX(target) Release/obj.target/serialport/src/serialport.o
…/src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
…/src/serialport.cpp:96:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t)’:
…/src/serialport.cpp:152:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t)’:
…/src/serialport.cpp:191:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t)’:
…/src/serialport.cpp:235:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t)’:
…/src/serialport.cpp:290:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t)’:
…/src/serialport.cpp:342:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t)’:
…/src/serialport.cpp:384:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
CXX(target) Release/obj.target/serialport/src/serialport_unix.o
CXX(target) Release/obj.target/serialport/src/poller.o
…/src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t, int, int)’:
…/src/poller.cpp:69:29: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value*) const’ is deprecated [-Wdeprecated-declarations]
obj->callback.Call(2, argv);
^
In file included from …/src/poller.cpp:1:0:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv) const {
^~~~
SOLINK_MODULE(target) Release/obj.target/serialport.node
COPY Release/serialport.node
make: Leaving directory ‘/home/pi/smartthings-nodeproxy/node_modules/serialport/build’
- serialport@5.0.0
added 116 packages in 37.112s