# Can't load a node beetween users

**URL:** <https://discourse.nodered.org/t/cant-load-a-node-beetween-users/3408>\
**Category:** General\
**Created:** [24 September 2018 13:14 UTC](https://discourse.nodered.org/t/cant-load-a-node-beetween-users/3408 "2018-09-24T13:14:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balouzard](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/balouzard/32/2869_2.png) [@Balouzard](https://discourse.nodered.org/u/Balouzard)\
**Post date:** [24 September 2018 13:14 UTC](https://discourse.nodered.org/t/cant-load-a-node-beetween-users/3408/1 "2018-09-24T13:14:01Z")

</div>

Hello everyone !

I'm having an issue using node-red. Basically I programmed a pretty complex automation system. I did it all with my default user (pi). I needed some 3rd party nodes so I installed them using npm (since I don't have an active internet connection on my host) with the "-g" argument.  
I now need to use a modbus server and run on port 502, which means I have to use root in order for node-red to be able to use this port.  
I launched node-red under root but node-red won't load 1 particular node named "node-red-node-sqlite"  
I did try to reinstall it but it still won't work.

I'm running node-red under raspbian 9.4 with everything up to date.

Thank you for your help 🙂

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [24 September 2018 13:39 UTC](https://discourse.nodered.org/t/cant-load-a-node-beetween-users/3408/2 "2018-09-24T13:39:07Z")

</div>

Why can't you allow a non-root process to bind to that port using one of the techniques such as

> <https://superuser.com/questions/710253/allow-non-root-process-to-bind-to-port-80-and-443>

---

<div class="post-metadata">

**Author:** ![Balouzard](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/balouzard/32/2869_2.png) [@Balouzard](https://discourse.nodered.org/u/Balouzard)\
**Post date:** [24 September 2018 14:06 UTC](https://discourse.nodered.org/t/cant-load-a-node-beetween-users/3408/3 "2018-09-24T14:06:53Z")

</div>

Can't use authbind cause I made it turn off when not in use since my raspberry is running on a battery.  
But the NET\_BIND should work, just forgot about it 😅  
I still find it strange that 1 node won't install globally tho 🤔

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [24 September 2018 14:22 UTC](https://discourse.nodered.org/t/cant-load-a-node-beetween-users/3408/4 "2018-09-24T14:22:55Z")

</div>

What errors did you hit when you tried to globally install that node?

---

<div class="post-metadata">

**Author:** ![Balouzard](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/balouzard/32/2869_2.png) [@Balouzard](https://discourse.nodered.org/u/Balouzard)\
**Post date:** [25 September 2018 07:59 UTC](https://discourse.nodered.org/t/cant-load-a-node-beetween-users/3408/5 "2018-09-25T07:59:31Z")

</div>

I didn't get any error, that's what surprises me the most.  
To put everything in context, I'm using 4 "node-red-contrib" modules and 2 "node-red-node" modules, 1 of wich I did write (It'll have it own thread in 2-3 weeks after some more testing).  
Just this one "node-red-node-sqlite" seem to not be able to install gloabally.  
I did install everything using the same method and the same tool.  
Can't figure out what isn't working but in the end my system is working thanks to @ukmoose reminder 😉

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [25 September 2018 10:54 UTC](https://discourse.nodered.org/t/cant-load-a-node-beetween-users/3408/6 "2018-09-25T10:54:01Z")

</div>

Did you uninstall `node-red-node-sqlite` before installing it globally?  
if the answer is no, then you might want to try removing it both locally and globally and then reinstall it globallly

---

<div class="post-metadata">

**Author:** ![Balouzard](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/balouzard/32/2869_2.png) [@Balouzard](https://discourse.nodered.org/u/Balouzard)\
**Post date:** [25 September 2018 13:14 UTC](https://discourse.nodered.org/t/cant-load-a-node-beetween-users/3408/7 "2018-09-25T13:14:25Z")

</div>

I did,  
I just checked to be sure and `node-red-node-sqlite` is in `/root/.node-red/node_modules`  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/6/6fd3bfcf5e839f84a84a9b5025d14a9ce462592e.png)  
Don't know what I've done wrong, because I guess it's only me
