Feeling like a fool.. can't remove errant node

I admit it i should not have been playing in my live system, was doing a couple of things at once so not completely sure where the problem is.

I'm unable to access the editor just blank, a spinner in the palette strip just spins. However the flows are working. The last thing i did was install a flow and required nodes. I'm getting and error message:

29 Jan 10:03:37 - [error] [function:Filter IP] TypeError: Cannot read property 'v4' of undefined

Which i think relates to node: "node-red-contrib-ip"

I can't disable the flow as i can't access the tab. can't remove it as it running...
I have tried to start in --safe mode and remove using admin tool

daniel@automation:~/.node-red $ node-red --safe
29 Jan 11:28:16 - [info]

Welcome to Node-RED
===================

29 Jan 11:28:16 - [info] Node-RED version: v1.0.3
29 Jan 11:28:16 - [info] Node.js  version: v10.17.0
29 Jan 11:28:16 - [info] Linux 4.19.66-v7+ arm LE
29 Jan 11:28:18 - [info] Loading palette nodes
29 Jan 11:28:33 - [info] Worldmap version 2.1.2
Javascript file /home/daniel/.node-red/node_modules/node-red-contrib-xterm/lib/xterm.js does not exist
Css file /home/daniel/.node-red/node_modules/node-red-contrib-xterm/css/xterm.css does not exist
29 Jan 11:28:35 - [info] Dashboard version 2.16.2 started at /ui
29 Jan 11:28:36 - [info] +-----------------------------------------------------
29 Jan 11:28:36 - [info] | uibuilder initialised:
29 Jan 11:28:36 - [info] |   root folder: /home/daniel/.node-red/projects/home_automation/uibuilder
29 Jan 11:28:36 - [info] |   version . .: 2.0.0-beta3.4
29 Jan 11:28:36 - [info] |   packages . : vue,bootstrap,bootstrap-vue,socket.io,jquery
29 Jan 11:28:36 - [info] +-----------------------------------------------------
29 Jan 11:28:36 - [info] Settings file  : /home/daniel/.node-red/settings.js
29 Jan 11:28:36 - [info] Context store  : 'default' [module=localfilesystem]
29 Jan 11:28:36 - [info] User directory : /home/daniel/.node-red
29 Jan 11:28:37 - [info] Server now running at http://127.0.0.1:1880/
29 Jan 11:28:37 - [info] Active project : home_automation
29 Jan 11:28:37 - [info] Flows file     : /home/daniel/.node-red/projects/home_automation/flows_automation.json
29 Jan 11:28:37 - [info] *****************************************************************
29 Jan 11:28:37 - [info] Flows stopped in safe mode. Deploy to start.
29 Jan 11:28:37 - [info] *****************************************************************
sudo node-red-admin info node-red-contrib-ip
[sudo] password for daniel:
Module:    node-red-contrib-ip
Version:   0.1.0

Nodes                    Types   State
node-red-contrib-ip/ip   ip      enabled

daniel@automation:~/.node-red $ sudo node-red-admin disable node-red-contrib-ip
400: Type in use: ip
daniel@automation:~/.node-red $

I can access the palette manager, and tried to remove that way.

I need an IQ booster shot :frowning:

try this, stop NR and while in the .node-red enter npm remove node-red-contrib-ip and that should remove the node. Then you can start NR again and go find our where it is missing.

Hi @zenofmud Paul, thanks that seemed to remove the errand node, i also removed the other nodes related directly to that flow. But that did't work then i noticed i line in the startup message:

29 Jan 13:27:35 - [info] Node-RED version: v1.0.3
29 Jan 13:27:35 - [info] Node.js  version: v10.17.0
29 Jan 13:27:35 - [info] Linux 4.19.66-v7+ arm LE
29 Jan 13:27:37 - [info] Loading palette nodes
29 Jan 13:27:50 - [info] Worldmap version 2.1.2
Javascript file /home/daniel/.node-red/node_modules/node-red-contrib-xterm/lib/xterm.js does not exist
Css file /home/daniel/.node-red/node_modules/node-red-contrib-xterm/css/xterm.css does not exist
29 Jan 13:27:51 - [info] Dashboard version 2.16.2 started at /ui
29 Jan 13:27:52 - [info] +-----------------------------------------------------

a missing file: node-red-contrib-xterm/lib/xterm.js

so i removed node-red-contrib-xterm and I'm back in :slight_smile: although I suspect it was a combination of those nodes.

thank-you for putting me on the correct path. I promise not to play in the live system.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.