Node-red won't work any more

Hi.
After installing
npm i node-red-node-serialport
my node-red worked once with serial communication also working.
Then after a reboot, it spits the following !

$ node-red

30 May 19:02:28 - [info]

Welcome to Node-RED

30 May 19:02:28 - [info] Node-RED version: v0.17.5
30 May 19:02:28 - [info] Node.js version: v8.11.0
30 May 19:02:28 - [info] Linux 4.16.12-200.fc27.x86_64 x64 LE
30 May 19:02:28 - [info] Loading palette nodes
30 May 19:02:29 - [warn] ------------------------------------------------------
30 May 19:02:29 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node
30 May 19:02:29 - [warn] ------------------------------------------------------
30 May 19:02:29 - [info] Settings file : /home/harold/.node-red/settings.js
30 May 19:02:29 - [info] User directory : /home/harold/.node-red
30 May 19:02:29 - [info] Flows file : /home/harold/.node-red/flows_harold.json
30 May 19:02:29 - [info] Server now running at http://127.0.0.1:1880/
30 May 19:02:29 - [info] Waiting for missing types to be registered:
30 May 19:02:29 - [info] - ui_base
30 May 19:02:29 - [info] - ui_tab
30 May 19:02:29 - [info] - ui_group
30 May 19:02:29 - [info] - ui_link
30 May 19:02:29 - [info] - ui_slider
30 May 19:02:29 - [info] - ui_numeric

I had some problem during the installing and I’ve been asked to run a command as root, witch I have done but got an error.
But as I mentioned, it worked once !

When you say "I’ve been asked to run a command as root,"
Who or where were you asked to run a command. What was the command, where (in which directory) did you run it?

The line

[info] Waiting for missing types to be registered:

and the lines below this are to do with the dashboard and node-red not finding the dashboard nodes.
You can install the missing dashboard nodes by following the Install instructions in the dashboard nodes readme node-red-dashboard (node) - Node-RED

Have you installed more dashboard nodes than just the node-red-dashboard? If you have you need to unsintall these FIRST other wise the dashboard will NOT work

@ukmoose
I have been asked to do a root command by the terminal:face_with_raised_eyebrow:
And I don’t remember where I run it and what was the command. I think I ran it in ~/.node-red.

I don’t think I have installed more dashboard nodes than just the node-red-dashboard. At least, that 's not what I was trying to install now ! I was just trying to install “node-red-node-serialport”.

I finally did :
cd ~/.node-red
npm remove node-red-dashboard
npm i node-red-dashboard

and it seems to work back !

Many thanks.