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

**URL:** https://discourse.nodered.org/t/feeling-like-a-fool-cant-remove-errant-node/20978
**Category:** General
**Created:** [29 January 2020 00:42 UTC](https://discourse.nodered.org/t/feeling-like-a-fool-cant-remove-errant-node/20978 "2020-01-29T00:42:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![greenembrace](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/greenembrace/32/42414_2.png) [@greenembrace](https://discourse.nodered.org/u/greenembrace)
#### Post date: [29 January 2020 00:42 UTC](https://discourse.nodered.org/t/feeling-like-a-fool-cant-remove-errant-node/20978/1 "2020-01-29T00:42:15Z")

</div>

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

```auto
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] *****************************************************************

```

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

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/a/3a61f43c703db0ab916b3bee49e7166824a7be95.png)

I need an IQ booster shot ☹

---

<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: [29 January 2020 00:49 UTC](https://discourse.nodered.org/t/feeling-like-a-fool-cant-remove-errant-node/20978/2 "2020-01-29T00:49:51Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![greenembrace](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/greenembrace/32/42414_2.png) [@greenembrace](https://discourse.nodered.org/u/greenembrace)
#### Post date: [29 January 2020 02:39 UTC](https://discourse.nodered.org/t/feeling-like-a-fool-cant-remove-errant-node/20978/3 "2020-01-29T02:39:10Z")

</div>

> [@zenofmud](#):
>
> npm remove node-red-contrib-ip

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:

```auto
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 🙂 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.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [29 March 2020 02:39 UTC](https://discourse.nodered.org/t/feeling-like-a-fool-cant-remove-errant-node/20978/4 "2020-03-29T02:39:10Z")

</div>

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