newly installed nodes not showing as an option

2,128 views
Skip to first unread message

Helena N

unread,
Mar 11, 2015, 1:23:29 PM3/11/15
to node...@googlegroups.com
Hi there, 

I just updated my Node-Red to v0.10.4 and I realized all my previously installed nodes are gone. So naturally I went in to reinstall them. 
The installation process was successful however the nodes that I downloaded are not "showing up" on the drop and drop menu. 
I have restarted, refresh, and reinstalled all the nodes including reinstalling Node Red but everything is still default looking.
I need node Twilio and node Mongodb. Am I missing a plug or something else? Please help.


Thanks,
H

Mark Setrem

unread,
Mar 11, 2015, 1:38:47 PM3/11/15
to node...@googlegroups.com
You don't say how you upgraded, or what platform you are running on.

Have you tried starting Node-RED with the -v flag? i.e. node-red -v

What does that say?
Message has been deleted

Dave C-J

unread,
Mar 11, 2015, 1:56:35 PM3/11/15
to node...@googlegroups.com
What does the console report as your user Directory at startup ?
That is the directory you need to be in when you npm install extra nodes.

The log you just appended would indicate that Node-RED is already running - address is already in use...

Dave C-J

unread,
Mar 11, 2015, 1:59:20 PM3/11/15
to node...@googlegroups.com
Hi, the default user directory should (if it was a clean install) be  /home/{your user}/.node-red   (note the . ).
If so then you would
    cd ~/.node-red
    npm install node-red-node-twilio
then stop and restart Node-RED  if not already stopped :-)

Helena N

unread,
Mar 11, 2015, 2:58:06 PM3/11/15
to node...@googlegroups.com
I have tried that before actually and I got all sorts of ERR!
See attached photo. 
Screen Shot 2015-03-11 at 2.52.53 PM.png

Phil Grainger

unread,
Mar 11, 2015, 3:23:41 PM3/11/15
to node...@googlegroups.com
Have you tried adding 'sudo' to your npm install commands:

sudo npm install node-red-node-twilio




Helena N

unread,
Mar 11, 2015, 3:30:28 PM3/11/15
to node...@googlegroups.com

I have and that's I was able to install it but my question is - even though the files are clearly shown as downloaded 
none of the nodes that I installed are showing up on the actually task bar. 
I am supposed to be able to use Twilio after I install the node - it's not there. Like I said earlier, rebooting/restarting didn't help.
Screen Shot 2015-03-11 at 3.28.21 PM.png

Nicholas O'Leary

unread,
Mar 11, 2015, 3:36:18 PM3/11/15
to Node-RED Mailing LIst
Hi Helena,

the first thing to check is, as Dave asked, what User Directory node-red is using. When you run node-red, it reports in the log output the user directory it is using, for example, for me it says:
    10 Mar 23:36:07 - [info] User Directory : /home/nol/.node-red


  can you check that is what you expect? This should be the directory you run the npm install node-red-node-twilio command in.

Nick




--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Helena N

unread,
Mar 11, 2015, 3:39:48 PM3/11/15
to node...@googlegroups.com
Hey Nick, 

This is the user directory it's running from. Does that look right? 
 

11 Mar 15:27:25 - [info] User Directory : /Users/Helena/.node-red


Nicholas O'Leary

unread,
Mar 11, 2015, 3:43:54 PM3/11/15
to Node-RED Mailing LIst
That does look likely - it defaults to $HOME/.node-red, which on OS x will be something that looks like that.

Next question, is that directory in which you ran "npm install node-red-node-twilio"?

Can you confirm that /Users/Helena/.node-red/node_modules/node-red-node-twilio exists?

Nick



Helena N

unread,
Mar 11, 2015, 3:59:36 PM3/11/15
to node...@googlegroups.com
So I found something interesting: 

There are 3 things in my Node-Red folder but non are Twilio so I opened the actual folder to take a closer look.
Turns out .node-red is actually a hidden file so "node_modules" was saved under User/Helena instead of User/Helena/.node-red.
I moved the file and problem solved. 

Thanks Nick and to all of the guys who answered/helped my question! 
I'll be sticking around.

Best,
H

Nicholas O'Leary

unread,
Mar 11, 2015, 4:01:21 PM3/11/15
to Node-RED Mailing LIst
Great - glad you figure out.

We're always here to help :)

Nick

Dave C-J

unread,
Mar 11, 2015, 4:23:26 PM3/11/15
to node...@googlegroups.com
Phew... well done ! and welcome aboard.

Sarah O'Connor

unread,
Jul 27, 2016, 10:17:50 AM7/27/16
to Node-RED
I'm having the same problem with mongodb node not appearing in the Node-Red window.
I followed Helena's steps and moved the folder named node_modules containing node-red-node-mongodb to /home/pi/.node-red/
I restarted node-red but it's not appearing. 
I thought maybe it will appear when I have mongo running first, so I followed the instructions here
but sudo service mongod start returns a message saying it failed to start, no such file or directory. I know it is there but I'm not sure where!!
I don't even want a mongo database on the pi, I want to send data to my database on mongolab. 
I'm new to the PI so all pointers much appreciated :)

Sarah O'Connor

unread,
Jul 27, 2016, 11:19:01 AM7/27/16
to Node-RED
Update! Found this video raspberry pi to mongolab via node-red
This is exactly what I wanted and so easy :)
Reply all
Reply to author
Forward
0 new messages