Missing modules in palette

1,233 views
Skip to first unread message

Paul Nugent

unread,
May 25, 2014, 7:31:28 PM5/25/14
to node...@googlegroups.com
Hi, Installed node-red on my Raspberry Pi. Most of the modules appear in the palette but when I do an install of additional module such as Pushbullet & badwords, they are not appearing. The directories are found on the Pi within the node-red directories. Tried re-installing several times, rebooting etc but they do not appear. 

Any tips on how to include these?

Thank

Nicholas O'Leary

unread,
May 25, 2014, 7:33:17 PM5/25/14
to node...@googlegroups.com
Hi Paul,

have you also installed the npm modules that Pushbullet and badwords depend on?

Run node-red with the -v option and you'll see what modules may be missing.

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.

Paul Nugent

unread,
May 26, 2014, 5:45:37 AM5/26/14
to node...@googlegroups.com
Hi Nick,

Thanks for the tip. I ran with -v 
26 May 10:16:02 - [74-js2xml.js] Error: Cannot find module 'js2xmlparser'
26 May 10:16:02 - [35-arduino.js] Error: Cannot find module 'arduino-firmata'

I installed the above 2 modules now and the arduino is now in the pallet. Re-ran pushbullet and badwords but still not appearing. I will try again later this afternoon. I assumed their dependants were install as when I ran pushbullet manually it appeared to work ok.

Thanks
Paul

Dave C-J

unread,
May 26, 2014, 8:29:10 AM5/26/14
to node...@googlegroups.com
Hi Paul,

just to double check - the 57-pushbullet.js and .html files should be somewhere under the node-red/nodes/ directory. And you need to run    npm install pushbullet   when in the    /node-red  directory.

Paul Nugent

unread,
May 26, 2014, 2:29:15 PM5/26/14
to node...@googlegroups.com
Hi Dave,

Yes thats correct. I installed pushbullet and other modules from here /home/pi/node-red
The pushbullet.js is located at  /home/pi/node-red/node_modules/pushbullet/lib/pushbullet.js
I noticed there is also another version at /root/.npm/pushbullet/1.0.0/package/lib/pushbullet.js

Thanks
Paul

Dave C-J

unread,
May 26, 2014, 4:47:01 PM5/26/14
to node...@googlegroups.com
Paul

most odd - I just did a clean install on my Pi and the files seem to match what you say below the node-red directory

./node_modules/pushbullet
./node_modules/pushbullet/lib/pushbullet.js
./nodes/dcj/57-pushbullet.js
./nodes/dcj/57-pushbullet.html

restarting node-red and then reloading the web page the pushbullet node is there in the outputs section of the palette. - etc etc...
most odd.

Which version of node.js are you using ? what OS ?

Paul Nugent

unread,
May 26, 2014, 4:56:18 PM5/26/14
to node...@googlegroups.com
Hi Dave,

Thanks for testing.

>$ node -v
v0.10.23

Distributor ID: Debian
Description:    Debian GNU/Linux 7.5 (wheezy)
Release:        7.5
Codename:       wheezy

My Pi node is not latest version but just installed v0.10.28 on windows to test it out and having the same issue on their as well. I think I must be doing something wrong.

Thanks
Paul

Dave C-J

unread,
May 27, 2014, 2:46:30 PM5/27/14
to node...@googlegroups.com
Paul,
that all looks good.

Where exactly have you placed the 57-pushbullet.html and .js files ?

Paul Nugent

unread,
May 27, 2014, 3:08:46 PM5/27/14
to node...@googlegroups.com
Hi Dave,

My fault. I hadn't extracted the git clone https://github.com/node-red/node-red-nodes.git correctly. Tried again and the modules are now appearing in the pallet.

Thanks for your support on this :)

Dave C-J

unread,
May 27, 2014, 5:06:45 PM5/27/14
to node...@googlegroups.com
Yay ! woot ! phew....
Reply all
Reply to author
Forward
0 new messages