Unable to use nodes after install

#1

After installing a few new nodes, I am unable to use them. When I go into "Manage Palette", I can see they are installed but the small box to the left of their title is grayed out. I have rebooted my pi after the install but this did not solve the problem.

0 Likes

#2

What are the specific nodes that have this problem?

0 Likes

#3

all of the nodes included with node-red-dashboard

0 Likes

#4

Problems with installing the dashboard nodes are usually caused by having a conflicting dashboard package already installed. Have you installed any other "dashboard" nodes? If you have you would need to delete those and then try reinstalling node-red-dashboard.

If you haven't could you try deleting and reinstalling and look for any errors in the logs

0 Likes

#5

There are no conflicting dashboards installed.

$ npm remove node-red-dashboard
npm WARM uninstall not installed in /home/pi/node_modules: "node-red-dashboard"

How do I delete the node?

0 Likes

#6

If you are using the command line you need to be in your .node-red directory. You need to be in the same directory to install nodes as well

0 Likes

#7

If you are on a pi I'd also suggest running the update script thats listed on the raspberry pi page on the Node-RED website

0 Likes

#8

Is there a way to uninstall without using the command line?

0 Likes

#9

Just use

cd .node-red
npm remove node-red-dashboard
0 Likes

#10

Uninstalling and then reinstalling the nodes did not fix anything. Instead of the boxes to the left of the title being grayed out however, the whole tab is now grayed out. In addition the small button to the right of each title is giving me the option to enable, rather than disable as it was showing before. When I press this nothing happens.

I am also getting these messages in the command prompt:

[warn] Failed to enable node:
     - ui_gauge : SyntaxError : Use of const in strict mode.

This error appears with several other nodes as well: ui_form; ui_audio; etc.

0 Likes

#11

Did you take the earlier advice to upgrade node-red and node.js to the latest using the bash <(curl script from https://nodered.org/docs/hardware/raspberrypi? Unless you have already done that.

0 Likes

#12

So what version of node-red and nodejs are you using? Have you run the script to update as suggested before?

0 Likes

#13

I think I ran the wrong script initially, but this solved the issue. Thank you.

0 Likes