Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during installation - @serialport/bindings #15

Closed
garethflowers opened this issue Apr 21, 2020 · 3 comments
Closed

Error during installation - @serialport/bindings #15

garethflowers opened this issue Apr 21, 2020 · 3 comments

Comments

@garethflowers
Copy link
Contributor

Install fails with the following error:

USER: xxxxxx
DIR: /usr/local/lib
CMD: npm install homebridge-texecom@latest

> @serialport/bindings@2.0.8 install /usr/local/lib/node_modules/homebridge-texecom/node_modules/@serialport/bindings
> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=13.13.0 runtime=node arch=x64 libc= platform=darwin)
  CXX(target) Release/obj.target/bindings/src/serialport.o
../src/serialport.cpp:329:14: error: no matching member function for call to
      'Set'
    results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<...
    ~~~~~~~~~^~~
/Users/xxxxxx/Library/Caches/node-gyp/13.13.0/include/node/v8.h:3547:37: note: 
      candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                    ^
/Users/xxxxxx/Library/Caches/node-gyp/13.13.0/include/node/v8.h:3550:37: note: 
      candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                    ^
../src/serialport.cpp:330:14: error: no matching member function for call to
      'Set'
    results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<...
    ~~~~~~~~~^~~
/Users/xxxxxx/Library/Caches/node-gyp/13.13.0/include/node/v8.h:3547:37: note: 
      candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                    ^
/Users/xxxxxx/Library/Caches/node-gyp/13.13.0/include/node/v8.h:3550:37: note: 
      candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                    ^
../src/serialport.cpp:331:14: error: no matching member function for call to
      'Set'
    results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<...
    ~~~~~~~~~^~~
/Users/xxxxxx/Library/Caches/node-gyp/13.13.0/include/node/v8.h:3547:37: note: 
      candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                    ^
/Users/xxxxxx/Library/Caches/node-gyp/13.13.0/include/node/v8.h:3550:37: note: 
      candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                    ^
../src/serialport.cpp:378:14: error: no matching member function for call to
      'Set'
    results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan:...
    ~~~~~~~~~^~~
/Users/xxxxxx/Library/Caches/node-gyp/13.13.0/include/node/v8.h:3547:37: note: 
      candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                    ^
/Users/xxxxxx/Library/Caches/node-gyp/13.13.0/include/node/v8.h:3550:37: note: 
      candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                    ^
4 errors generated.
make: *** [Release/obj.target/bindings/src/serialport.o] Error 1

Versions:

  • OS: macOS
  • Homebridge: 0.4.53
  • Node: 13.13.0
  • Npm 6.14.4
@garethflowers
Copy link
Contributor Author

Looks like a similar issue to #6 - but with a completely different stack trace.

@garethflowers
Copy link
Contributor Author

Bumping serialport to v8.0.7 seems to resolve the issue for me.

@max-christian
Copy link
Owner

This should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants