Winnus not building on Windows 10 #6544
Replies: 1 comment
-
Posted at 2021-06-29 by @gfwilliams Hi - I think this is due to the Node.js version - every few releases they change the API and it breaks old native plugins. However you shouldn't actually need the library anyway. Are you trying to connect with Bluetooth or USB? Usually for those you use Posted at 2021-06-29 by sauerman Okay, if i run the CLI with edit: I want to connect w/ bluetooth.
Posted at 2021-06-29 by @gfwilliams edit: Ahh, just spotted you said bluetooth! Posted at 2021-06-29 by @gfwilliams Ok, so the issue is most likely that Noble isn't picking up your Bluetooth adaptor. 'Noble' has this video linked showing you what you need to do to set it up: https://www.youtube.com/watch?v=mL9B8wuEdms&t=106s It's often a lot more sensible to add an external Bluetooth dongle which Noble can then pick up and use (rather than trying to use Zadig on your internal adaptor, which then stops normal Windows from using it) Unfortunately Bluetooth LE with Node.js on Windows is a mess right now. It's one of the reasons I push everyone to the Web IDE - because it 'just works'. Posted at 2021-06-29 by @gfwilliams I should add that there is this library: https://github.com/jasongin/noble-uwp Which should be able to replace Posted at 2021-06-29 by sauerman Okay, Zadig did the trick. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-06-29 by sauerman
Hi Everyone,
I am trying to get the EspruinoCLI to work, but dependency Winnus (https://github.com/espruino/winnus) is not building on Windows10.
I am getting a bunch of c++ errors:
Beta Was this translation helpful? Give feedback.
All reactions