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
[22:14:58] openhabian@jarvis2://$ sudo npm install node-red-node-suncalc
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.
Can somebody please point me in the right direction how to install nodes here please?