node-bluetooth-hci-socket
node-bluetooth-hci-socket copied to clipboard
windows install issue -- bluetooth-hci-socket
[email protected] install C:\Users\DELL\Desktop\new_noble\noble\node_modules\usb node-gyp-build
@abandonware/[email protected] install C:\Users\DELL\Desktop\new_noble\noble\node_modules@abandonware\bluetooth-hci-socket node-pre-gyp install --fallback-to-build --update-binary
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-11/bluetooth_hci_socket-0.5.3-11-node-v83-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for @abandonware/[email protected] and [email protected] (node-v83 ABI,
unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status
404 Not Found on https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-11/bluetooth_hci_socket-0.5.3-11-node-v83-win32-x64.tar.gz
Traceback (most recent call last):
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 50, in
^^^^^
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp_init_.py", line 136, in Load
result = gyp.input.Load(build_files, default_variables, includes[:],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 2782, in Load
LoadTargetBuildFile(build_file, data, aux_data,
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 391, in LoadTargetBuildFile
build_file_data = LoadOneBuildFile(build_file_path, data, aux_data,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 234, in LoadOneBuildFile
build_file_contents = open(build_file_path, 'rU').read()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid mode: 'rU' while trying
to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp
failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit
(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--update-binary" "--module=C:\Users\DELL\Desktop\new_noble\noble\node_modules\@abandonware\bluetooth-hci-socket\lib\binding\bluetooth_hci_socket.node" "--module_name=bluetooth_hci_socket" "--module_path=C:\Users\DELL\Desktop\new_noble\noble\node_modules\@abandonware\bluetooth-hci-socket\lib\binding" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" "--python=C:\Users\DELL\AppData\Local\Programs\Python\Python311\python.exe"
gyp ERR! cwd C:\Users\DELL\Desktop\new_noble\noble\node_modules@abandonware\bluetooth-hci-socket
gyp ERR! node -v v14.21.3
gyp ERR! node-gyp -v v5.1.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --update-binary --module=C:\Users\DELL\Desktop\new_noble\noble\node_modules@abandonware\bluetooth-hci-socket\lib\binding\bluetooth_hci_socket.node --module_name=bluetooth_hci_socket --module_path=C:\Users\DELL\Desktop\new_noble\noble\node_modules@abandonware\bluetooth-hci-socket\lib\binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83 --python=C:\Users\DELL\AppData\Local\Programs\Python\Python311\python.exe' (1)
node-pre-gyp ERR! stack at ChildProcess.
node-pre-gyp ERR! cwd C:\Users\DELL\Desktop\new_noble\noble\node_modules@abandonware\bluetooth-hci-socket
node-pre-gyp ERR! node -v v14.21.3
node-pre-gyp ERR! node-pre-gyp -v v1.0.11
node-pre-gyp ERR! not ok
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --update-binary --module=C:\Users\DELL\Desktop\new_noble\noble\node_modules@abandonware\bluetooth-hci-socket\lib\binding\bluetooth_hci_socket.node --module_name=bluetooth_hci_socket --module_path=C:\Users\DELL\Desktop\new_noble\noble\node_modules@abandonware\bluetooth-hci-socket\lib\binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83 --python=C:\Users\DELL\AppData\Local\Programs\Python\Python311\python.exe' (1)
@abandonware/[email protected] install C:\Users\DELL\Desktop\new_noble\noble node-gyp-build
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/[email protected] (node_modules@abandonware\bluetooth-hci-socket):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/[email protected] install: node-pre-gyp install --fallback-to-build --update-binary
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
audited 667 packages in 11.047s
107 packages are looking for funding
run npm fund
for details
found 9 vulnerabilities (8 moderate, 1 high) run npm audit fix
to fix them, or npm audit
for details
C:\Users\DELL\Desktop\new_noble\noble>node test.js
noble
on -> stateChange: unsupported
^C
C:\Users\DELL\Desktop\new_noble\noble>npm install
[email protected] install C:\Users\DELL\Desktop\new_noble\noble\node_modules\usb node-gyp-build
@abandonware/[email protected] install C:\Users\DELL\Desktop\new_noble\noble\node_modules@abandonware\bluetooth-hci-socket node-pre-gyp install --fallback-to-build --update-binary
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-11/bluetooth_hci_socket-0.5.3-11-node-v83-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for @abandonware/[email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-11/bluetooth_hci_socket-0.5.3-11-node-v83-win32-x64.tar.gz
Traceback (most recent call last):
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 50, in gyp
failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--update-binary" "--module=C:\Users\DELL\Desktop\new_noble\noble\node_modules\@abandonware\bluetooth-hci-socket\lib\binding\bluetooth_hci_socket.node" "--module_name=bluetooth_hci_socket" "--module_path=C:\Users\DELL\Desktop\new_noble\noble\node_modules\@abandonware\bluetooth-hci-socket\lib\binding" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" "--python=C:\Users\DELL\AppData\Local\Programs\Python\Python311\python.exe"
gyp ERR! cwd C:\Users\DELL\Desktop\new_noble\noble\node_modules@abandonware\bluetooth-hci-socket
gyp ERR! node -v v14.21.3
gyp ERR! node-gyp -v v5.1.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --update-binary --module=C:\Users\DELL\Desktop\new_noble\noble\node_modules@abandonware\bluetooth-hci-socket\lib\binding\bluetooth_hci_socket.node --module_name=bluetooth_hci_socket --module_path=C:\Users\DELL\Desktop\new_noble\noble\node_modules@abandonware\bluetooth-hci-socket\lib\binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83 --python=C:\Users\DELL\AppData\Local\Programs\Python\Python311\python.exe' (1)
node-pre-gyp ERR! stack at ChildProcess.
@abandonware/[email protected] install C:\Users\DELL\Desktop\new_noble\noble node-gyp-build
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/[email protected] (node_modules@abandonware\bluetooth-hci-socket):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/[email protected] install: node-pre-gyp install --fallback-to-build --update-binary
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
audited 658 packages in 11.01s