'offline' installation of nodes

Hi,
i have a program, that collects information from two rss-feeds and prepares the data gathered for use on an digital signage player.
My problem is the remote installation of nodejs, node-red and nodes.
I could transfer the nodejs.msi and install it. When i tried to install nodered via npm i got an error
request to https://registry.npmjs.org/node-red failed.
After a lot of discussions with the customers IT-team they opened the firewall, allowing me to install node red.
The next step was to add some nodes to the palette. This fails, unfortunately not telling the url or the required port for the operation. It says something like failed to open the catalog.

So my question is: where can i find the information, which 'hole' must be punched into the firewall
or
is there a way to install some nodes (fastxml, time-scheduler aso) 'locally', which means i can transfer files to the remote machine.

All hints are welcome!

Since Node-RED is "just" a node.js app, you can use npm to install nodes since they are all packaged as node.js npm packages.

You need a command line on the server and the server needs to be able to reach the npmjs.org package repository.

If access to the repository isn't feasible, you can install on a different machine of the same architecture (sounds like you may be using Windows) and then manually copy the installed ~/.node-red/node_modules folders over to the target device.

You then also need to restart node-red of course. You may want to disable Node-RED's palette manager if it can't be used.

Another alternative would be to create your own local package repository and get node-red's palette manager to only use that.

1 Like

Thank you for the reply, i will try it tomorrow.

Yes, command line installation was possible! Thank you, Totallyinformation!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.