abandonware / node-bluetooth-hci-socket

MIT License
42 stars 47 forks source link

Windows 10 installation problem #10

Open regissg opened 4 years ago

regissg commented 4 years ago

npm install @abandonware/bluetooth-hci-socket gives the following error message

node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-4/binding-0.5.3-4-node-v72-win32-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-4 and node@12.13.0 (node-v72 ABI, unknown) (falling back to source compile with node-gyp) MSBUILD : error MSB1009: Project file does not exist.

any clue on how to fix that?

rzr commented 4 years ago

This looks like a windows specific issue may you try:

npm install --global --production windows-build-tools
npm install --verbose @abandonware/bluetooth-hci-socket 

And then attach log files, an other option would be to setup CI to build binaries for windows (and others)...

regissg commented 4 years ago

It seems that the issue is with Visual studio that does not install as you could see in the log windows-build-tools.log

rzr commented 4 years ago

Is some of you familiar with CI/CD on windows ?

rzr commented 3 years ago

it would help to 1st fix this build bot eg:

https://ci.appveyor.com/project/rzr/node-bluetooth-hci-socket/builds/35548034

titaniumwhite commented 3 years ago

@regissg have you found any solution?