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

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:

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

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
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

1 Like

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 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.

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

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/
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

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:

???

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 :+1:

Similar to what he said...

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?

1 Like

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.

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

1 Like