# Something has really messed up on one of my machines

**URL:** <https://discourse.nodered.org/t/something-has-really-messed-up-on-one-of-my-machines/20178>\
**Category:** General\
**Created:** [10 January 2020 23:59 UTC](https://discourse.nodered.org/t/something-has-really-messed-up-on-one-of-my-machines/20178 "2020-01-10T23:59:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [10 January 2020 23:59 UTC](https://discourse.nodered.org/t/something-has-really-messed-up-on-one-of-my-machines/20178/1 "2020-01-10T23:59:37Z")

</div>

Ok, I have made mistakes, but to the best of my knowledge, all those stupid ones have been put to rest and things are _good_.

I have as a main machine a NUC and I test flows on it and when they work I export the flows to the RasPies.

Today's voyage I am looking at a RasPi with a PiFace CAD board.

There is a node which allows writing messages to this display easily from NR.

I am trying to get it installed but while doing this somehow `node-red-contrib-ui` has got into the system.

To remove it, I am going to have to delete all the nodes using it - yes?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [11 January 2020 00:20 UTC](https://discourse.nodered.org/t/something-has-really-messed-up-on-one-of-my-machines/20178/2 "2020-01-11T00:20:41Z")

</div>

I tried removing all the `ui` nodes but got this error when I tried to remove it:

[2020-01-11T00\_15\_55\_474Z-debug.txt](https://discourse.nodered.org/uploads/short-url/14gYC6EuAiGciVXF82FwMwj5mDO.txt) (367.4 KB)

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [11 January 2020 07:56 UTC](https://discourse.nodered.org/t/something-has-really-messed-up-on-one-of-my-machines/20178/3 "2020-01-11T07:56:42Z")

</div>

> [@Trying\_to\_learn](#):
>
> To remove it, I am going to have to delete all the nodes using it - yes?

No.

contrib-ui is the predecessor to node-red-dashboard. It provides older versions of many of the same nodes as dashboard.

You need to go to `~/.node-red` and run `npm uninstall node-red-contrib-ui`.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [11 January 2020 08:06 UTC](https://discourse.nodered.org/t/something-has-really-messed-up-on-one-of-my-machines/20178/4 "2020-01-11T08:06:19Z")

</div>

Thanks for the reply.

I think I have got that done - in the mean time.

Now, weirdly, I am using the standard `dashboard` buttons/things.

Yet, when I try to load the dashboard, it says there are no items there.

Thoughts?

 ![Screenshot from 2020-01-11 11-51-36](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/8/f8df9129c0eb5b518c60056364e0582a2659969c.png) ![Screenshot from 2020-01-11 11-51-40](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/d/ed0ce70f838e91c15041cddb06cb4658a06aede1.png)

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [12 January 2020 11:51 UTC](https://discourse.nodered.org/t/something-has-really-messed-up-on-one-of-my-machines/20178/5 "2020-01-12T11:51:31Z")

</div>

Ok, I have got things working better than before.

I am installing a new node from the CLI/Terminal.

This is part of what I see:

```auto
gyp ERR! command "/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/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/.node-red/node_modules/serialport/build/Release"
gyp ERR! cwd /home/pi/.node-red/node_modules/serialport
gyp ERR! node -v v10.18.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm WARN node-red-contrib-ui-led@0.3.1 requires a peer of node-red-dashboard@2.14.x but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the serialport@4.0.7 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-01-12T11_39_08_712Z-debug.log
pi@PIFACE:~/.node-red $ 

```

The parts of concern to me are:  
`npm WARN node-red-contrib-ui-led@0.3.1 requires a peer of node-red-dashboard@2.14.x but none is installed. You must install peer dependencies yourself.`

Errr, ok. Required dashboard@2.14.x but none is installed.

From said machine:

 ![Screenshot from 2020-01-12 22-49-37](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/0/10cf1ac64b4f6cc512d539e0745cfaf03c03846a.png)

So is that a `contrib-ui-led` problem?

Just asking.  
Thanks in advance.

Second problem/concern is the mention of the serial.port.

`gyp ERR! command "/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/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/.node-red/node_modules/serialport/build/Release" gyp ERR! cwd /home/pi/.node-red/node_modules/serialport`

I'm not even going to try and understand that.

Sorry. I may google it but I feel/fear it will be one of these cases where the answer is written for people who already know what the problem is, rather than people like me.
