-
Notifications
You must be signed in to change notification settings - Fork 140
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 C2661: 'v8::Object::Set': no overloaded function takes 2 arguments" while installing #233
Comments
Node v13 is currently not supported please use v12 with this module. |
Okay well I'm glad there's at least a temporary workaround to it. Although with the new V8 version 8 update coming to Node soon I'd want to be able to switch to v13 entirely, not having some projects require NVM. Would it be possible to update the package to support Node 13 in the near future? |
It is possible to update the package and add node 13 support but I do not have plans to add this myself. I'm happy to accept a PR that adds support though. |
I faced the same issue today while using Node v13 in Azure Pipelines, npm install failed with same error.I had to used Node version 12.16.1 to resolve this |
I got this error when I execute yarn on Windows What the hell is this?? nothing worked. When changed to v10.23.0(LTS) started working |
v12.18.3(LTS) +1 |
So does this only work on v12 or 10? |
See #309 |
Thanks, @eelcocramer, Then How can I fix this issue? I am using Node 16.5.0, and Vue.js |
You may try the fix in the branch mentioned in #309. It would be great if you can provide feedback wether that works or not. CI suggest that the fix in that branch builds on windows. |
Sorry, I can't see any solutions there |
Did you mean these?
|
I tried to install Visual C++ and it's command line tools, but same issue |
I meant you could try out the fix in the branch.
|
Why does this need for my work? |
I'm not sure I understand your question. The current version of the module does not compile against newer versions of nodejs. The patch in the branch does compile. I'm just not sure wether it is functionally ok so I'm reaching out to the community to validate that branch. |
In that branch, you are going to install bluetooth-serial-port library, but I am not using it. |
If you think its an issue with gyp you should check with them. I'm sure they will be very supportive... |
Thanks, it worked for me! |
I'm trying to install this package with
npm i bluetooth-serial-port
and after switching from Python 3 to 2.7 (since it threw another error) it has been throwing me this new error a few times while installing:Error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments
This error is happening while node-gyp is building the BluetoothSerialPort project.
There's also a bunch of warnings.
Here's the full error log.
OS: Windows 10 (1909 - Build 18363.657)
Node.js version: 13.9.0
NPM version: 6.13.7
Python version: 2.7.16
I also have Visual Studio 2019 and its SDKs.
The text was updated successfully, but these errors were encountered: