[SOLVED] Install Nodes into NodeRed fails

Hi there,

I am using the latest Openhabian image which was released with OH2.1. I have installed Node Red, which works fine, and want to add some nodes.
When trying to run the usual npm install command I figured that nodered is obviousy installed under the root account, which cannot be accessed by the install process

[code]
[22:14:58] openhabian@jarvis2://$ sudo npm install node-red-node-suncalc
/
└── node-red-node-suncalc@0.0.10

npm WARN enoent ENOENT: no such file or directory, open ‘/package.json’
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.

[code]

Can somebody please point me in the right direction how to install nodes here please?

Thanks
Cu
Frank

Try sudo npm install -g ...

Cool, thanks, that did the job :slight_smile:

You should also be able to install from the Palette Manager inside of Node-Red