Closed Janneman84 closed 7 years ago
Oh I also tried installing Visual Studio 2017, including the 15063 SDK. This updated the files in the Windows Kits\10 folder, but this didn't fix the errors.
I'm sure it's just some version issue.
Sorry I must have missed the notification when this was posted a couple weeks ago. The errors like this one:
C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth'
seem to indicate some problem related to referencing the .winmd
files from the correct version of the Windows SDK. The BluetoothAdapter
class did not exist in older versions of the SDK.
Can you collect a verbose msbuild log and put it on a gist? Then maybe I can figure out what's wrong. (The regular node-gyp output doesn't include details about how the SDK files are referenced.) Something like these commands should do it:
cd build\uwp\windows.devices.bluetooth
"%ProgramFiles(x86)\MSBuild\14.0\Bin\MSBuild.exe" binding.vcxproj /p:Configuration=Release /p:Platform=x64 /v:diag > build.log
Note the binding.vcxproj
is generated by node-gyp
, so you must have at least attempted building that way first.
I tried what you suggested. In the build.log it keeps referring to C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ and not 10.15063.0.
Can you share the log - put it on a gist or something? I might be able to see why it's referring to the wrong version directory.
Okay I put it here: https://gist.github.com/Janneman84/dd0127a6c778c76aa5af3d802ad44310
In this one I first renamed the 10.0.10150.0 folder to see what would happen. I believe it even tries the Windows 8 kit now...
Oh, so it looks like you tried to install from NPM. Unfortunately the version published to NPM was very out of date.
I just published the latest code to NPM. It includes the updated reference to the 10.0.15063 SDK version, as well as other build improvements. Can you try again?
This issue appears to be resolved. Closing due to no response.
Sorry for the big dump below, but I'm trying to install noble-uwp and it gives me a bunch of errors. It looks like there is a problem with the Bluetooth. May it have something to do with me running the latest version of Windows (15063) instead of the preview version? Also I'm running the latest NodeJS on my system.
I noticed it builds all the NodeRT stuff, while it only needs the Bluetooth ones right?
I'm planning on using it in my Electron application. Any help is greatly appreciated!
C:\Projects\Diagnoptics>npm install noble-uwp
[usb] Success: "C:\Projects\Diagnoptics\node_modules\usb\src\binding\usb_bindings.node" is installed via remote
C:\Projects\Diagnoptics\node_modules\bluetooth-hci-socket>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. win_delay_load_hook.cc Generating code Finished generating code binding.vcxproj -> C:\Projects\Diagnoptics\node_modules\bluetooth-hci-socket\build\Release\binding.node
Building NodeRT UWP adapter for Windows.Foundation Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. _nodert_generated.cpp NodeRtUtils.cpp OpaqueWrapper.cpp CollectionsConverterUtils.cpp win_delay_load_hook.cc Creating library C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.foundation\build\Release\binding.lib and object C:\Projects\Di agnoptics\node_modules\noble-uwp\uwp\windows.foundation\build\Release\binding.exp Generating code Finished generating code binding.vcxproj -> C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.foundation\build\Release\binding.node
Building NodeRT UWP adapter for Windows.Storage.Streams Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. _nodert_generated.cpp NodeRtUtils.cpp OpaqueWrapper.cpp CollectionsConverterUtils.cpp win_delay_load_hook.cc Creating library C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.storage.streams\build\Release\binding.lib and object C:\Projec ts\Diagnoptics\node_modules\noble-uwp\uwp\windows.storage.streams\build\Release\binding.exp Generating code Finished generating code binding.vcxproj -> C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.storage.streams\build\Release\binding.node
Building NodeRT UWP adapter for Windows.Devices.Bluetooth Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. _nodert_generated.cpp NodeRtUtils.cpp OpaqueWrapper.cpp .._nodert_generated.cpp(64): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node_m odules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(64): error C2065: 'BluetoothAdapter': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\window s.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(64): error C2065: 'wintRtInstance': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows. devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(65): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node_m odules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(65): error C2143: syntax error: missing ';' before '^' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.dev ices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(65): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Projects\Diagnoptic s\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(65): error C3699: '^': cannot use this indirection on type 'int' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\w indows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(65): note: compiler replacing '^' with '' to continue parsing .._nodertgenerated.cpp(67): error C2039: 'BluetoothDeviceId': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(67): error C2065: 'BluetoothDeviceId': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windo ws.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(67): error C2065: 'wintRtInstance': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows. devices.bluetooth\build\binding.vcxproj] .._nodertgenerated.cpp(68): error C2039: 'BluetoothDeviceId': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(68): error C2143: syntax error: missing ';' before '^' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.dev ices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(68): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Projects\Diagnoptic s\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(68): error C3699: '^': cannot use this indirection on type 'int' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\w indows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(68): note: compiler replacing '^' with '' to continue parsing .._nodert_generated.cpp(70): error C2039: 'BluetoothUuidHelper': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\nod e_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(70): error C2065: 'BluetoothUuidHelper': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\win dows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(70): error C2065: 'wintRtInstance': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows. devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(71): error C2039: 'BluetoothUuidHelper': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\nod e_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(71): error C2143: syntax error: missing ';' before '^' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.dev ices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(71): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Projects\Diagnoptic s\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(71): error C3699: '^': cannot use this indirection on type 'int' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\w indows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(71): note: compiler replacing '^' with '' to continue parsing .._nodert_generated.cpp(79): error C2039: 'BluetoothLEAppearanceCategories': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Dia gnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(79): error C2065: 'BluetoothLEAppearanceCategories': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble -uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(79): error C2065: 'wintRtInstance': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows. devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(80): error C2039: 'BluetoothLEAppearanceCategories': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Dia gnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(80): error C2143: syntax error: missing ';' before '^' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.dev ices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(80): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Projects\Diagnoptic s\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(80): error C3699: '^': cannot use this indirection on type 'int' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\w indows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(80): note: compiler replacing '^' with '' to continue parsing .._nodert_generated.cpp(82): error C2039: 'BluetoothLEAppearanceSubcategories': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\ Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(82): error C2065: 'BluetoothLEAppearanceSubcategories': undeclared identifier [C:\Projects\Diagnoptics\node_modules\no ble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(82): error C2065: 'wintRtInstance': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows. devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(83): error C2039: 'BluetoothLEAppearanceSubcategories': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\ Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(83): error C2143: syntax error: missing ';' before '^' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.dev ices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(83): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Projects\Diagnoptic s\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(83): error C3699: '^': cannot use this indirection on type 'int' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\w indows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(83): note: compiler replacing '^' with '' to continue parsing .._nodert_generated.cpp(85): error C2039: 'BluetoothLEAppearance': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\n ode_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(85): error C2065: 'BluetoothLEAppearance': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\w indows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(85): error C2065: 'wintRtInstance': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows. devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(86): error C2039: 'BluetoothLEAppearance': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\n ode_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(86): error C2143: syntax error: missing ';' before '^' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.dev ices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(86): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Projects\Diagnoptic s\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(86): error C3699: '^': cannot use this indirection on type 'int' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\w indows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(86): note: compiler replacing '^' with '' to continue parsing .._nodert_generated.cpp(249): error C2838: 'DisabledByUser': illegal qualified name in member declaration [C:\Projects\Diagnoptics\node_module s\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(249): error C2065: 'DisabledByUser': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows .devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(249): error C2661: 'Nan::Set': no overloaded function takes 2 arguments [C:\Projects\Diagnoptics\node_modules\noble-uw p\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(250): error C2838: 'ConsentRequired': illegal qualified name in member declaration [C:\Projects\Diagnoptics\node_modul es\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(250): error C2065: 'ConsentRequired': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\window s.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(250): error C2661: 'Nan::Set': no overloaded function takes 2 arguments [C:\Projects\Diagnoptics\node_modules\noble-uw p\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(251): error C2838: 'TransportNotSupported': illegal qualified name in member declaration [C:\Projects\Diagnoptics\node _modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(251): error C2065: 'TransportNotSupported': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\ windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(251): error C2661: 'Nan::Set': no overloaded function takes 2 arguments [C:\Projects\Diagnoptics\node_modules\noble-uw p\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(261): error C3083: 'BluetoothAddressType': the symbol to the left of a '::' must be a type [C:\Projects\Diagnoptics\no de_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(261): error C2039: 'Public': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node_modules\no ble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(261): error C2065: 'Public': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices .bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(261): error C2661: 'Nan::Set': no overloaded function takes 2 arguments [C:\Projects\Diagnoptics\node_modules\noble-uw p\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(262): error C3083: 'BluetoothAddressType': the symbol to the left of a '::' must be a type [C:\Projects\Diagnoptics\no de_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(262): error C2039: 'Random': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node_modules\no ble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(262): error C2065: 'Random': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices .bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(262): error C2661: 'Nan::Set': no overloaded function takes 2 arguments [C:\Projects\Diagnoptics\node_modules\noble-uw p\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(263): error C3083: 'BluetoothAddressType': the symbol to the left of a '::' must be a type [C:\Projects\Diagnoptics\no de_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(263): error C2039: 'Unspecified': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node_modul es\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(263): error C2065: 'Unspecified': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.de vices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(263): error C2661: 'Nan::Set': no overloaded function takes 2 arguments [C:\Projects\Diagnoptics\node_modules\noble-uw p\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodertgenerated.cpp(315): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(315): error C2061: syntax error: identifier 'BluetoothAdapter' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\win dows.devices.bluetooth\build\binding.vcxproj] .._nodertgenerated.cpp(854): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(854): error C2143: syntax error: missing ';' before '^' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.de vices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(854): error C2461: 'NodeRT::Windows::Devices::Bluetooth::BluetoothAdapter': constructor syntax missing formal paramete rs [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(854): error C2238: unexpected token(s) preceding ';' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devic es.bluetooth\build\binding.vcxproj] .._nodertgenerated.cpp(857): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(857): error C2061: syntax error: identifier 'BluetoothAdapter' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\win dows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(857): error C2365: 'NodeRT::Windows::Devices::Bluetooth::WrapBluetoothAdapter': redefinition; previous definition was 'data variable' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(64): note: see declaration of 'NodeRT::Windows::Devices::Bluetooth::WrapBluetoothAdapter' .._nodertgenerated.cpp(858): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(858): error C2143: syntax error: missing ';' before '^' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.de vices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(858): error C2433: 'NodeRT::Windows::Devices::Bluetooth::BluetoothAdapter': 'friend' not permitted on data declaration s [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(858): error C2238: unexpected token(s) preceding ';' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devic es.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(310): error C2065: '_instance': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devi ces.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(317): error C2065: '_instance': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devi ces.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(317): error C2065: 'instance': undeclared identifier [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devic es.bluetooth\build\binding.vcxproj] .._nodertgenerated.cpp(360): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(360): error C3699: '^': cannot use this indirection on type 'NodeRT::Windows::Devices::Bluetooth::BluetoothAdapter' [C :\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(360): note: compiler replacing '^' with '' to continue parsing .._nodertgenerated.cpp(364): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj] .._nodert_generated.cpp(364): error C2059: syntax error: '>' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\bui ld\binding.vcxproj] .._nodert_generated.cpp(364): error C2783: 'bool NodeRT::Utils::IsWinRtWrapperOf(v8::Local)': could not deduce template argument fo
r 'T' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
c:\projects\diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\NodeRtUtils.h(60): note: see declaration of 'NodeRT::Utils::IsWi
nRtWrapperOf'
.._nodertgenerated.cpp(368): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node
modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(368): error C2059: syntax error: ')' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\bui
ld\binding.vcxproj]
.._nodert_generated.cpp(384): error C2664: 'NodeRT::Windows::Devices::Bluetooth::BluetoothAdapter::BluetoothAdapter(const NodeRT::Windows::Dev
ices::Bluetooth::BluetoothAdapter &)': cannot convert argument 1 from 'NodeRT::Windows::Devices::Bluetooth::BluetoothAdapter ' to 'const NodeR
T::Windows::Devices::Bluetooth::BluetoothAdapter &' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding
.vcxproj]
.._nodert_generated.cpp(384): note: Reason: cannot convert from 'NodeRT::Windows::Devices::Bluetooth::BluetoothAdapter ' to 'const NodeRT::
Windows::Devices::Bluetooth::BluetoothAdapter'
.._nodert_generated.cpp(384): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot b
e called
.._nodertgenerated.cpp(395): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node
modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(395): error C2059: syntax error: '>' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\bui
ld\binding.vcxproj]
.._nodert_generated.cpp(395): error C2783: 'bool NodeRT::Utils::IsWinRtWrapperOf(v8::Local)': could not deduce template argument fo
r 'T' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
c:\projects\diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\NodeRtUtils.h(60): note: see declaration of 'NodeRT::Utils::IsWi
nRtWrapperOf'
.._nodertgenerated.cpp(401): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node
modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(401): error C3699: '^': cannot use this indirection on type 'NodeRT::Windows::Devices::Bluetooth::BluetoothAdapter' [C
:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(401): note: compiler replacing '^' with ' ' to continue parsing
.._nodertgenerated.cpp(404): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node
modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(404): error C2059: syntax error: ')' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\bui
ld\binding.vcxproj]
.._nodert_generated.cpp(412): error C2064: term does not evaluate to a function taking 1 arguments [C:\Projects\Diagnoptics\node_modules\noble
-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodertgenerated.cpp(420): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node
modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(420): error C2059: syntax error: '>' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\bui
ld\binding.vcxproj]
.._nodert_generated.cpp(420): error C2783: 'bool NodeRT::Utils::IsWinRtWrapperOf(v8::Local)': could not deduce template argument fo
r 'T' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
c:\projects\diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\NodeRtUtils.h(60): note: see declaration of 'NodeRT::Utils::IsWi
nRtWrapperOf'
.._nodert_generated.cpp(440): error C2039: '_instance': is not a member of 'NodeRT::Windows::Devices::Bluetooth::BluetoothAdapter' [C:\Project
s\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(269): note: see declaration of 'NodeRT::Windows::Devices::Bluetooth::BluetoothAdapter'
.._nodert_generated.cpp(440): error C2227: left of '->GetRadioAsync' must point to class/struct/union/generic type [C:\Projects\Diagnoptics\no
de_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodertgenerated.cpp(511): error C2039: 'BluetoothAdapter': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node
modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(511): error C2059: syntax error: '>' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\bui
ld\binding.vcxproj]
.._nodert_generated.cpp(511): error C2976: 'Windows::Foundation::IAsyncOperation': too few generic arguments [C:\Projects\Diagnoptics\node_mod
ules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(511): error C2955: 'Windows::Foundation::IAsyncOperation': use of class generic requires generic argument list [C:\Pro
jects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(521): error C3083: 'BluetoothAdapter': the symbol to the left of a '::' must be a type [C:\Projects\Diagnoptics\node_m
odules\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(521): error C2039: 'FromIdAsync': is not a member of 'Windows::Devices::Bluetooth' [C:\Projects\Diagnoptics\node_modul
es\noble-uwp\uwp\windows.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(521): error C2664: 'void NodeRT::Windows::Devices::Bluetooth::BluetoothAdapter::FromIdAsync(Nan::NAN_METHOD_ARGS_TYPE)
': cannot convert argument 1 from 'Platform::String ^' to 'Nan::NAN_METHOD_ARGS_TYPE' [C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windo
ws.devices.bluetooth\build\binding.vcxproj]
.._nodert_generated.cpp(521): fatal error C1003: error count exceeds 100; stopping compilation [C:\Projects\Diagnoptics\node_modules\noble-uwp
\uwp\windows.devices.bluetooth\build\binding.vcxproj]
CollectionsConverterUtils.cpp
win_delay_load_hook.cc
gyp ERR! build error
gyp ERR! stack Error:
C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Windows_NT 10.0.15063 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--msvs_version=2015" gyp ERR! cwd C:\Projects\Diagnoptics\node_modules\noble-uwp\uwp\windows.devices.bluetooth gyp ERR! node -v v6.10.2 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok bplist-parser@0.0.6 node_modules\noble-uwp\node_modules\noble\node_modules\bplist-parser -> node_modules\bplist-parser ms@0.7.3 node_modules\noble-uwp\node_modules\debug\node_modules\ms -> node_modules\ms debug@2.6.6 node_modules\noble-uwp\node_modules\debug -> node_modules\debug nan@2.6.2 node_modules\noble-uwp\node_modules\noble\node_modules\bluetooth-hci-socket\node_modules\nan -> node_modules\nan ms@0.7.1 node_modules\noble-uwp\node_modules\noble\node_modules\debug\node_modules\ms -> node_modules\noble-uwp\node_modules\msnpm ERR! noble-uwp@0.2.0 install:
build.cmd
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the noble-uwp@0.2.0 install script 'build.cmd'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the noble-uwp package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! build.cmd npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs noble-uwp npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls noble-uwp npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! C:\Projects\Diagnoptics\npm-debug.log