# Cant remove node-red-contrib-generic-ble: "Solved"

**URL:** <https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184>\
**Category:** General\
**Created:** [15 April 2019 20:57 UTC](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184 "2019-04-15T20:57:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenkoknz](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Post date:** [15 April 2019 20:57 UTC](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184/1 "2019-04-15T20:57:58Z")

</div>

Hi,  
I installed node-red-contrib-generic-ble from the palette, but now cannot uninstall it. Advice will be appreciated.

When I open NR now I get:

 ![Capture1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/e/ef20c1675600eaf67fe4bb87b7bc5437b0f80b8e.jpeg)

I have deleted all the flows with the ble nodes and even deleted the tab with ble node on it.

In palette and I disable all and try to remove the node:  
 ![Capture4](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/88b22a70fe26ba6cb28e66ba8bb4f5832398ece0.jpeg)

The log shows ( no idea what to look for):  
2019-04-15T11:57:57.646Z Remove : node-red-contrib-ignoble

## 2019-04-15T11:57:59.151Z npm remove --no-audit --no-update-notifier --save node-red-contrib-ignoble 2019-04-15T11:58:28.520Z [out] 2019-04-15T11:58:28.520Z [out] \> usb@1.5.0 install /home/pi/.node-red/node\_modules/usb 2019-04-15T11:58:28.520Z [out] \> node-pre-gyp install --fallback-to-build 2019-04-15T11:58:28.520Z [out] 2019-04-15T11:58:30.032Z [err] node-pre-gyp 2019-04-15T11:58:30.036Z [err] 2019-04-15T11:58:30.036Z [err] WARN Using request for node-pre-gyp https download 2019-04-15T11:58:30.036Z [err] 2019-04-15T11:58:31.987Z [err] node-pre-gyp 2019-04-15T11:58:31.988Z [err] WARN Tried to download(404): [https://github.com/tessel/node-usb/releases/download/1.5.0/usb\_bindings-v1.5.0-node-v64-linux-arm.tar.gz](https://github.com/tessel/node-usb/releases/download/1.5.0/usb_bindings-v1.5.0-node-v64-linux-arm.tar.gz) 2019-04-15T11:58:31.988Z [err] node-pre-gyp 2019-04-15T11:58:31.988Z [err] WARN 2019-04-15T11:58:31.989Z [err] Pre-built binaries not found for usb@1.5.0 and node@10.15.3 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 2019-04-15T11:58:31.989Z [err] 2019-04-15T11:58:36.859Z [out] make: Entering directory '/home/pi/.node-red/node\_modules/usb/build' 2019-04-15T11:58:36.864Z [out] CC(target) Release/obj.target/libusb/libusb/libusb/core.o 2019-04-15T11:58:40.352Z [out] CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o 2019-04-15T11:58:42.007Z [out] CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o 2019-04-15T11:58:42.988Z [out] CC(target) Release/obj.target/libusb/libusb/libusb/io.o 2019-04-15T11:58:45.059Z [out] CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o 2019-04-15T11:58:45.322Z [out] CC(target) Release/obj.target/libusb/libusb/libusb/sync.o 2019-04-15T11:58:45.684Z [out] CC(target) Release/obj.target/libusb/libusb/libusb/os/poll\_posix.o 2019-04-15T11:58:45.936Z [out] CC(target) Release/obj.target/libusb/libusb/libusb/os/threads\_posix.o 2019-04-15T11:58:46.125Z [out] CC(target) Release/obj.target/libusb/libusb/libusb/os/linux\_usbfs.o 2019-04-15T11:58:49.125Z [out] CC(target) Release/obj.target/libusb/libusb/libusb/os/linux\_udev.o 2019-04-15T11:58:49.286Z [err] ../libusb/libusb/os/linux\_udev.c:40:21: fatal error: libudev.h: No such file or directory 2019-04-15T11:58:49.286Z [err] #include \<libudev.h\> 2019-04-15T11:58:49.286Z [err] ^ 2019-04-15T11:58:49.287Z [err] compilation terminated. 2019-04-15T11:58:49.293Z [out] libusb.target.mk:138: recipe for target 'Release/obj.target/libusb/libusb/libusb/os/linux\_udev.o' failed 2019-04-15T11:58:49.293Z [out] make: Leaving directory '/home/pi/.node-red/node\_modules/usb/build' 2019-04-15T11:58:49.294Z [err] make: \*\*\* [Release/obj.target/libusb/libusb/libusb/os/linux\_udev.o] Error 1 2019-04-15T11:58:49.298Z [err] gyp 2019-04-15T11:58:49.301Z [err] 2019-04-15T11:58:49.302Z [err] ERR! 2019-04-15T11:58:49.302Z [err] build error 2019-04-15T11:58:49.302Z [err] 2019-04-15T11:58:49.303Z [err] gyp 2019-04-15T11:58:49.303Z [err] ERR! stack 2019-04-15T11:58:49.304Z [err] Error: `make` failed with exit code: 2 2019-04-15T11:58:49.304Z [err] gyp 2019-04-15T11:58:49.304Z [err] ERR! 2019-04-15T11:58:49.304Z [err] stack 2019-04-15T11:58:49.304Z [err] at ChildProcess.onExit (/usr/lib/node\_modules/npm/node\_modules/node-gyp/lib/build.js:262:23) 2019-04-15T11:58:49.304Z [err] gyp 2019-04-15T11:58:49.304Z [err] ERR! 2019-04-15T11:58:49.304Z [err] stack 2019-04-15T11:58:49.304Z [err] at ChildProcess.emit (events.js:189:13) 2019-04-15T11:58:49.304Z [err] gyp 2019-04-15T11:58:49.304Z [err] ERR! 2019-04-15T11:58:49.304Z [err] stack 2019-04-15T11:58:49.304Z [err] at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:248:12) 2019-04-15T11:58:49.305Z [err] gyp 2019-04-15T11:58:49.305Z [err] ERR! System 2019-04-15T11:58:49.305Z [err] Linux 4.14.98-v7+ 2019-04-15T11:58:49.306Z [err] gyp 2019-04-15T11:58:49.306Z [err] ERR! 2019-04-15T11:58:49.306Z [err] command 2019-04-15T11:58:49.306Z [err] "/usr/bin/node" "/usr/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/.node-red/node\_modules/usb/src/binding/usb\_bindings.node" "--module\_name=usb\_bindings" "--module\_path=/home/pi/.node-red/node\_modules/usb/src/binding" "--napi\_version=3" "--node\_abi\_napi=napi" "--napi\_build\_version=0" "--node\_napi\_label=node-v64" 2019-04-15T11:58:49.306Z [err] gyp 2019-04-15T11:58:49.306Z [err] ERR! 2019-04-15T11:58:49.306Z [err] cwd 2019-04-15T11:58:49.307Z [err] /home/pi/.node-red/node\_modules/usb 2019-04-15T11:58:49.307Z [err] gyp 2019-04-15T11:58:49.307Z [err] ERR! 2019-04-15T11:58:49.307Z [err] node -v v10.15.3 2019-04-15T11:58:49.307Z [err] gyp 2019-04-15T11:58:49.307Z [err] ERR! 2019-04-15T11:58:49.307Z [err] node-gyp -v 2019-04-15T11:58:49.307Z [err] v3.8.0 2019-04-15T11:58:49.307Z [err] gyp 2019-04-15T11:58:49.307Z [err] ERR! 2019-04-15T11:58:49.307Z [err] not ok 2019-04-15T11:58:49.308Z [err] 2019-04-15T11:58:49.314Z [err] node-pre-gyp 2019-04-15T11:58:49.315Z [err] ERR! build error 2019-04-15T11:58:49.316Z [err] node-pre-gyp 2019-04-15T11:58:49.316Z [err] ERR! stack 2019-04-15T11:58:49.316Z [err] Error: Failed to execute '/usr/bin/node /usr/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/.node-red/node\_modules/usb/src/binding/usb\_bindings.node --module\_name=usb\_bindings --module\_path=/home/pi/.node-red/node\_modules/usb/src/binding --napi\_version=3 --node\_abi\_napi=napi --napi\_build\_version=0 --node\_napi\_label=node-v64' (1) 2019-04-15T11:58:49.316Z [err] node-pre-gyp 2019-04-15T11:58:49.316Z [err] ERR! 2019-04-15T11:58:49.316Z [err] stack at ChildProcess. (/home/pi/.node-red/node\_modules/node-pre-gyp/lib/util/compile.js:83:29) 2019-04-15T11:58:49.316Z [err] node-pre-gyp 2019-04-15T11:58:49.316Z [err] ERR! 2019-04-15T11:58:49.317Z [err] stack 2019-04-15T11:58:49.317Z [err] at ChildProcess.emit (events.js:189:13) 2019-04-15T11:58:49.317Z [err] node-pre-gyp 2019-04-15T11:58:49.317Z [err] ERR! 2019-04-15T11:58:49.317Z [err] stack 2019-04-15T11:58:49.317Z [err] at maybeClose (internal/child\_process.js:970:16) 2019-04-15T11:58:49.317Z [err] node-pre-gyp 2019-04-15T11:58:49.317Z [err] ERR! 2019-04-15T11:58:49.317Z [err] stack 2019-04-15T11:58:49.317Z [err] at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:259:5) 2019-04-15T11:58:49.318Z [err] node-pre-gyp 2019-04-15T11:58:49.319Z [err] ERR! System Linux 4.14.98-v7+ 2019-04-15T11:58:49.319Z [err] node-pre-gyp 2019-04-15T11:58:49.319Z [err] ERR! 2019-04-15T11:58:49.319Z [err] command "/usr/bin/node" "/home/pi/.node-red/node\_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" 2019-04-15T11:58:49.319Z [err] node-pre-gyp 2019-04-15T11:58:49.319Z [err] ERR! 2019-04-15T11:58:49.320Z [err] cwd 2019-04-15T11:58:49.320Z [err] /home/pi/.node-red/node\_modules/usb 2019-04-15T11:58:49.320Z [err] node-pre-gyp 2019-04-15T11:58:49.320Z [err] ERR! 2019-04-15T11:58:49.320Z [err] node -v v10.15.3 2019-04-15T11:58:49.320Z [err] node-pre-gyp 2019-04-15T11:58:49.320Z [err] ERR! 2019-04-15T11:58:49.320Z [err] node-pre-gyp -v 2019-04-15T11:58:49.320Z [err] v0.11.0 2019-04-15T11:58:49.321Z [err] node-pre-gyp 2019-04-15T11:58:49.321Z [err] ERR! 2019-04-15T11:58:49.321Z [err] not ok 2019-04-15T11:58:49.322Z [out] Failed to execute '/usr/bin/node /usr/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/.node-red/node\_modules/usb/src/binding/usb\_bindings.node --module\_name=usb\_bindings --module\_path=/home/pi/.node-red/node\_modules/usb/src/binding --napi\_version=3 --node\_abi\_napi=napi --napi\_build\_version=0 --node\_napi\_label=node-v64' (1) 2019-04-15T11:58:49.344Z [out] 2019-04-15T11:58:49.344Z [out] \> bluetooth-hci-socket@0.5.1 install /home/pi/.node-red/node\_modules/bluetooth-hci-socket 2019-04-15T11:58:49.344Z [out] \> node-gyp rebuild 2019-04-15T11:58:49.344Z [out] 2019-04-15T11:58:51.710Z [out] make: Entering directory '/home/pi/.node-red/node\_modules/bluetooth-hci-socket/build' 2019-04-15T11:58:51.713Z [out] CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o 2019-04-15T11:58:55.012Z [err] ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’: 2019-04-15T11:58:55.012Z [err] ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value\*)’ is deprecated [-Wdeprecated-declarations] 2019-04-15T11:58:55.012Z [err] Nan::MakeCallback(Nan::New(this-\>This), Nan::New("emit").ToLocalChecked(), 2, argv); 2019-04-15T11:58:55.012Z [err] ^ 2019-04-15T11:58:55.012Z [err] In file included from ../src/BluetoothHciSocket.cpp:8:0: 2019-04-15T11:58:55.012Z [err] ../../nan/nan.h:980:46: note: declared here 2019-04-15T11:58:55.012Z [err] NAN\_DEPRECATED inline v8::Localv8::Value MakeCallback( 2019-04-15T11:58:55.012Z [err] ^~~~~~~~~~~~2019-04-15T11:58:55.015Z [err] ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’: 2019-04-15T11:58:55.015Z [err] ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Localv8::Value [1])’ 2019-04-15T11:58:55.015Z [err] Local error = errorConstructor-\>NewInstance(1, constructorArgs); 2019-04-15T11:58:55.015Z [err] ^ 2019-04-15T11:58:55.016Z [err] In file included from /home/pi/.node-gyp/10.15.3/include/node/node.h:63:0, 2019-04-15T11:58:55.016Z [err] from /home/pi/.node-gyp/10.15.3/include/node/node\_buffer.h:25, 2019-04-15T11:58:55.016Z [err] from ../src/BluetoothHciSocket.cpp:7: 2019-04-15T11:58:55.016Z [err] /home/pi/.node-gyp/10.15.3/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocalv8::Object v8::Function::NewInstance(v8::Localv8::Context, int, v8::Localv8::Value_) const 2019-04-15T11:58:55.016Z [err] V8\_WARN\_UNUSED\_RESULT MaybeLocal NewInstance( 2019-04-15T11:58:55.016Z [err] ^~~~~~~~~~~ 2019-04-15T11:58:55.016Z [err] /home/pi/.node-gyp/10.15.3/include/node/v8.h:3993:44: note: candidate expects 3 arguments, 2 provided 2019-04-15T11:58:55.016Z [err] /home/pi/.node-gyp/10.15.3/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocalv8::Object v8::Function::NewInstance(v8::Localv8::Context) const 2019-04-15T11:58:55.016Z [err] V8\_WARN\_UNUSED\_RESULT MaybeLocal NewInstance( 2019-04-15T11:58:55.016Z [err] ^~~~~~~~~~~2019-04-15T11:58:55.016Z [err] /home/pi/.node-gyp/10.15.3/include/node/v8.h:3996:44: note: candidate expects 1 argument, 2 provided 2019-04-15T11:58:55.018Z [err] ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value_)’ is deprecated [-Wdeprecated-declarations] 2019-04-15T11:58:55.018Z [err] Nan::MakeCallback(Nan::New(this-\>This), Nan::New("emit").ToLocalChecked(), 2, argv); 2019-04-15T11:58:55.018Z [err] ^ 2019-04-15T11:58:55.018Z [err] In file included from ../src/BluetoothHciSocket.cpp:8:0: 2019-04-15T11:58:55.018Z [err] ../../nan/nan.h:980:46: note: declared here 2019-04-15T11:58:55.018Z [err] NAN\_DEPRECATED inline v8::Localv8::Value MakeCallback( 2019-04-15T11:58:55.018Z [err] ^~~~~~~~~~~~ 2019-04-15T11:58:55.030Z [err] ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN\_METHOD\_RETURN\_TYPE BluetoothHciSocket::BindRaw(Nan::NAN\_METHOD\_ARGS\_TYPE)’: 2019-04-15T11:58:55.030Z [err] ../src/BluetoothHciSocket.cpp:395:34: warning: ‘int64\_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] 2019-04-15T11:58:55.030Z [err] devId = arg0-\>IntegerValue(); 2019-04-15T11:58:55.030Z [err] ^ 2019-04-15T11:58:55.030Z [err] In file included from /home/pi/.node-gyp/10.15.3/include/node/v8.h:26:0, 2019-04-15T11:58:55.030Z [err] from /home/pi/.node-gyp/10.15.3/include/node/node.h:63, 2019-04-15T11:58:55.030Z [err] from /home/pi/.node-gyp/10.15.3/include/node/node\_buffer.h:25, 2019-04-15T11:58:55.030Z [err] from ../src/BluetoothHciSocket.cpp:7: 2019-04-15T11:58:55.030Z [err] /home/pi/.node-gyp/10.15.3/include/node/v8.h:2476:46: note: declared here 2019-04-15T11:58:55.030Z [err] V8\_DEPRECATED("Use maybe version", int64\_t IntegerValue() const); 2019-04-15T11:58:55.030Z [err] ^ 2019-04-15T11:58:55.030Z [err] /home/pi/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’ 2019-04-15T11:58:55.030Z [err] declarator **attribute** ((deprecated(message))) 2019-04-15T11:58:55.030Z [err] ^~~~~~~~~~2019-04-15T11:58:55.032Z [err] ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN\_METHOD\_RETURN\_TYPE BluetoothHciSocket::BindUser(Nan::NAN\_METHOD\_ARGS\_TYPE)’: 2019-04-15T11:58:55.032Z [err] ../src/BluetoothHciSocket.cpp:417:34: warning: ‘int64\_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] 2019-04-15T11:58:55.032Z [err] devId = arg0-\>IntegerValue(); 2019-04-15T11:58:55.032Z [err] ^ 2019-04-15T11:58:55.032Z [err] In file included from /home/pi/.node-gyp/10.15.3/include/node/v8.h:26:0, 2019-04-15T11:58:55.032Z [err] from /home/pi/.node-gyp/10.15.3/include/node/node.h:63, 2019-04-15T11:58:55.032Z [err] from /home/pi/.node-gyp/10.15.3/include/node/node\_buffer.h:25, 2019-04-15T11:58:55.032Z [err] from ../src/BluetoothHciSocket.cpp:7: 2019-04-15T11:58:55.032Z [err] /home/pi/.node-gyp/10.15.3/include/node/v8.h:2476:46: note: declared here 2019-04-15T11:58:55.032Z [err] V8\_DEPRECATED("Use maybe version", int64\_t IntegerValue() const); 2019-04-15T11:58:55.032Z [err] ^ 2019-04-15T11:58:55.032Z [err] /home/pi/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’ 2019-04-15T11:58:55.032Z [err] declarator **attribute** ((deprecated(message))) 2019-04-15T11:58:55.032Z [err] ^~~~~~~~~~ 2019-04-15T11:58:55.657Z [out] binding.target.mk:99: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed 2019-04-15T11:58:55.657Z [out] make: Leaving directory '/home/pi/.node-red/node\_modules/bluetooth-hci-socket/build' 2019-04-15T11:58:55.658Z [err] make: \*\*\* [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1 2019-04-15T11:58:55.661Z [err] gyp 2019-04-15T11:58:55.662Z [err] 2019-04-15T11:58:55.662Z [err] ERR! build error 2019-04-15T11:58:55.663Z [err] 2019-04-15T11:58:55.664Z [err] gyp 2019-04-15T11:58:55.664Z [err] ERR! stack 2019-04-15T11:58:55.664Z [err] Error: `make` failed with exit code: 2 2019-04-15T11:58:55.664Z [err] gyp 2019-04-15T11:58:55.664Z [err] ERR! 2019-04-15T11:58:55.664Z [err] stack 2019-04-15T11:58:55.665Z [err] at ChildProcess.onExit (/usr/lib/node\_modules/npm/node\_modules/node-gyp/lib/build.js:262:23) 2019-04-15T11:58:55.665Z [err] gyp 2019-04-15T11:58:55.665Z [err] ERR! 2019-04-15T11:58:55.665Z [err] stack 2019-04-15T11:58:55.665Z [err] at ChildProcess.emit (events.js:189:13) 2019-04-15T11:58:55.665Z [err] gyp 2019-04-15T11:58:55.665Z [err] ERR! 2019-04-15T11:58:55.665Z [err] stack 2019-04-15T11:58:55.665Z [err] at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:248:12) 2019-04-15T11:58:55.666Z [err] gyp 2019-04-15T11:58:55.666Z [err] ERR! System 2019-04-15T11:58:55.666Z [err] Linux 4.14.98-v7+ 2019-04-15T11:58:55.667Z [err] gyp 2019-04-15T11:58:55.667Z [err] ERR! 2019-04-15T11:58:55.667Z [err] command 2019-04-15T11:58:55.667Z [err] "/usr/bin/node" "/usr/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js" "rebuild" 2019-04-15T11:58:55.667Z [err] gyp 2019-04-15T11:58:55.667Z [err] ERR! 2019-04-15T11:58:55.667Z [err] cwd 2019-04-15T11:58:55.667Z [err] /home/pi/.node-red/node\_modules/bluetooth-hci-socket 2019-04-15T11:58:55.667Z [err] gyp 2019-04-15T11:58:55.668Z [err] ERR! 2019-04-15T11:58:55.668Z [err] node -v 2019-04-15T11:58:55.668Z [err] v10.15.3 2019-04-15T11:58:55.668Z [err] gyp 2019-04-15T11:58:55.668Z [err] ERR! 2019-04-15T11:58:55.668Z [err] node-gyp -v v3.8.0 2019-04-15T11:58:55.668Z [err] gyp 2019-04-15T11:58:55.668Z [err] ERR! 2019-04-15T11:58:55.668Z [err] not ok 2019-04-15T11:58:55.668Z [err] 2019-04-15T11:59:00.049Z [err] npm 2019-04-15T11:59:00.050Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node\_modules/xpc-connection): 2019-04-15T11:59:00.050Z [err] npm WARN 2019-04-15T11:59:00.050Z [err] notsup 2019-04-15T11:59:00.050Z [err] SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 2019-04-15T11:59:00.051Z [err] npm 2019-04-15T11:59:00.051Z [err] WARN optional 2019-04-15T11:59:00.051Z [err] SKIPPING OPTIONAL DEPENDENCY: usb@1.5.0 (node\_modules/usb): 2019-04-15T11:59:00.051Z [err] npm 2019-04-15T11:59:00.051Z [err] WARN 2019-04-15T11:59:00.055Z [err] optional SKIPPING OPTIONAL DEPENDENCY: usb@1.5.0 install: `node-pre-gyp install --fallback-to-build` 2019-04-15T11:59:00.055Z [err] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2019-04-15T11:59:00.055Z [err] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 (node\_modules/bluetooth-hci-socket): 2019-04-15T11:59:00.055Z [err] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild` 2019-04-15T11:59:00.055Z [err] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2019-04-15T11:59:00.055Z [err] 2019-04-15T11:59:00.058Z [out] removed 2 packages in 57.846s 2019-04-15T11:59:00.083Z rc=0

## 2019-04-15T11:59:10.883Z Remove : node-red-contrib-generic-ble

## 2019-04-15T11:59:21.976Z Remove : node-red-contrib-generic-ble

2019-04-15T20:37:43.699Z Remove : node-red-contrib-generic-ble

Side issue: I copy and paste the log and it annoying shows everything in bold large font caps as seen above, is there a html control char somewhere?

I have also restarted NR and tried again, but same results.  
How do I remove the ble node?

Thanks,  
Ken

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [15 April 2019 21:17 UTC](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184/2 "2019-04-15T21:17:40Z")

</div>

If you are on node-red 0.20.x you can stop node-RED (`node-red-stop`) and then start it in safe mode. (see [https://nodered.org/blog/2019/03/12/version-0-20-released](https://nodered.org/blog/2019/03/12/version-0-20-released) and read the section `Runtime`)

Once you remove the node, you might check to see if there are any used configuration nodes. Look n the right sidebar under the configuration tab.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [15 April 2019 21:23 UTC](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184/3 "2019-04-15T21:23:36Z")

</div>

```auto
cd /home/pi/.node-red
npm uninstall node-red-contrib-generic-ble 

```

---

<div class="post-metadata">

**Author:** ![kenkoknz](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Post date:** [15 April 2019 22:05 UTC](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184/4 "2019-04-15T22:05:15Z")

</div>

Hi tried stop and --safe as suggested, still the same:  
pi@raspberrypi:~ $ node-red-stop

Stop Node-RED

Use node-red --safe to start Node-RED again

pi@raspberrypi:~ $ node-red --safe  
16 Apr 09:59:40 - [info]

# Welcome to Node-RED

16 Apr 09:59:40 - [info] Node-RED version: v0.20.5  
16 Apr 09:59:40 - [info] Node.js version: v10.15.3  
16 Apr 09:59:40 - [info] Linux 4.14.98-v7+ arm LE  
16 Apr 09:59:41 - [info] Loading palette nodes  
16 Apr 09:59:46 - [info] Dashboard version 2.14.0 started at /ui  
16 Apr 09:59:46 - [warn] ------------------------------------------------------  
16 Apr 09:59:46 - [warn] [node-red-contrib-generic-ble/generic-ble] Error: Cannot find module 'bluetooth-hci-socket'  
16 Apr 09:59:46 - [warn] ------------------------------------------------------  
16 Apr 09:59:46 - [info] Settings file : /home/pi/.node-red/settings.js  
16 Apr 09:59:46 - [info] Context store : 'default' [module=memory]  
16 Apr 09:59:46 - [info] User directory : /home/pi/.node-red  
16 Apr 09:59:46 - [warn] Projects disabled : editorTheme.projects.enabled=false  
16 Apr 09:59:46 - [info] Flows file : /home/pi/.node-red/flows\_raspberrypi.json  
16 Apr 09:59:46 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
16 Apr 09:59:46 - [warn]

* * *

Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials  
file will not be recoverable, you will have to delete it and re-enter  
your credentials.

## You should set your own key using the 'credentialSecret' option in your settings file. Node-RED will then re-encrypt your credentials file using your chosen key the next time you deploy a change.

16 Apr 09:59:46 - [info] Waiting for missing types to be registered:  
16 Apr 09:59:46 - [info] - Generic BLE

---

<div class="post-metadata">

**Author:** ![kenkoknz](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Post date:** [15 April 2019 22:19 UTC](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184/5 "2019-04-15T22:19:44Z")

</div>

> [@Steve-Mcl](#):
>
> cd /home/pi/.node-red npm uninstall node-red-contrib-generic-ble

Also tried:

cd /home/pi/.node-red  
npm uninstall node-red-contrib-generic-ble  
I stopped NR first then:

pi@raspberrypi:~ $ cd /home/pi/.node-red  
pi@raspberrypi:~/.node-red $ npm uninstall node-red-contrib-generic-ble  
removed 9 packages and audited 11688 packages in 31.295s  
found 47 vulnerabilities (16 low, 27 moderate, 4 high)  
run `npm audit fix` to fix them, or `npm audit` for details  
pi@raspberrypi:~/.node-red $ npm audit fix

pi@raspberrypi:~/.node-red $ npm audit fix  
up to date in 26.26s  
fixed 0 of 47 vulnerabilities in 11688 scanned packages  
47 vulnerabilities required manual review and could not be updated

rebooted.

Still the same, when I start NR I still get:

 ![Capture1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/e/ef20c1675600eaf67fe4bb87b7bc5437b0f80b8e.jpeg)

???

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [15 April 2019 22:33 UTC](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184/6 "2019-04-15T22:33:48Z")

</div>

In the node red editor, search ble.

You probably have some nodes in a flow (probable a config node)

Find them, delete them, deploy, fixed 👍

Similar to what he said...

> [@zenofmud](#):
>
> Once you remove the node, you might check to see if there are any used configuration nodes. Look n the right sidebar under the configuration tab

---

<div class="post-metadata">

**Author:** ![kenkoknz](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Post date:** [15 April 2019 22:57 UTC](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184/7 "2019-04-15T22:57:13Z")

</div>

Did what you and zenofmud suggested, using the palette on configaration nodes, listed all the nodes but no ble nodes in config node...but there is an unknown node greyed out. I click information and it was ble. Detele it still the same, then I realise that I have to deploy to make it happen.  
Now it is all good, thanks guys for a speedy fix!  
btw Steve, can you elaborate on how to search ble using node red editor?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [16 April 2019 07:47 UTC](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184/8 "2019-04-16T07:47:42Z")

</div>

> [@kenkoknz](#):
>
> npm audit fix

For future reference you should not do this unless you understand the consequences, it may update nodes that should not be updated. The message comes from npm and confuses many.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [16 April 2019 08:06 UTC](https://discourse.nodered.org/t/cant-remove-node-red-contrib-generic-ble-solved/10184/9 "2019-04-16T08:06:09Z")

</div>

> [@kenkoknz](#):
>
> btw Steve, can you elaborate on how to search ble using node red editor?

Press CTRL+F or menu button (top RH corner --\> search flows), type in ble
