offline installation node-red and packages?

3,806 views
Skip to first unread message

Patrick

unread,
Aug 9, 2017, 11:20:45 AM8/9/17
to Node-RED
Hi together,

i would like to install node-red on a windows-machine.
the machine has no connect via port 80 to the web.

is there a way for an offline installation of node-red and some packages?

thanks
Patrick

Julian Knight

unread,
Aug 9, 2017, 4:57:42 PM8/9/17
to Node-RED
The modules (contributed nodes) are easy since you can just copy them - or better, zip them up on a working device, move and unzip.

For node-red itself, this is easiest if you are installing as a package rather than the default global install. Since NR itself is "just" an npm module, you can create a project folder and install directly. Have a read of the docs about "embedded" installs. I've also a repo on GitHub (search for TotallyInformation) that describes a number of methods for that kind of deployment.

In the latter case, you could even install everything you want on an internet connected device and then "shrinkwrap" it - check the npm docs for details.

All this assumes you have an internet connected device OF THE SAME PLATFORM type (e.g. Wintel) on which to install things. You will also need to install Node.JS which you should be able to download as a zip file.

Sebastian Barwe

unread,
Aug 11, 2017, 5:39:17 PM8/11/17
to Node-RED
npmbox is helpful in some cases (e.g. when you need to rebuild for your architecture)

Patrick

unread,
Dec 6, 2017, 4:13:44 AM12/6/17
to Node-RED
I still have the problem, how to move an existing node-red Installation to a other PC?

I zipped the folder C:\Users\patrick\.node-red with all subfolders
moved that zip to the other PC
unzipped file in same Userfolder.

but when I start node-red i miss some packages

what do I wrong?

Patrick

Nick O'Leary

unread,
Dec 6, 2017, 4:20:34 AM12/6/17
to Node-RED Mailing List
It depends what the missing packages were. If you can share any more details, it may help us to help you.

Nick

--
http://nodered.org
 
Join us on Slack to continue the conversation: http://nodered.org/slack
---
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+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/816450a2-5a5f-4b71-aa98-5911aec83526%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Colin Law

unread,
Dec 6, 2017, 4:21:43 AM12/6/17
to node...@googlegroups.com
Do you mean some nodes are missing? Perhaps you had installed them
globally, so they were not in the .node-red folder.

On 6 December 2017 at 09:13, Patrick <in...@digitalbuilding.de> wrote:
> --
> http://nodered.org
>
> Join us on Slack to continue the conversation: http://nodered.org/slack
> ---
> 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.

Patrick

unread,
Dec 6, 2017, 4:58:00 AM12/6/17
to Node-RED
here the details.

machine A is a client-PC (in vmware) that has no connection to the web
machine B is an clone of machine A that runs in my office

usernames are the same on both machines

on machine B I had have (after cloning) installed some packages (p.e. advanced-ping and more)

I have zipped the .node-red Folder from machine B and copied it to machine A
unzip the file on machine A
start node-red but I dont have the packages advanced-ping etc.

I start node-red with this settings as a service.

http://blog.rniemand.com/installing-node-red-as-a-windows-service/


think, that the modules maybe not copied or system-settings may be different?

thank 4 help and sorry for my poor english :-)

Patrick

Colin Law

unread,
Dec 6, 2017, 5:04:40 AM12/6/17
to node...@googlegroups.com
On each machine what do you get if you
cd .node-red
npm list one_of_the_missing_nodes
and
npm list -g one_of_the_missing_nodes

If they were installed locally they should be in .node-red/node_modules

Colin

Colin
> --
> http://nodered.org
>
> Join us on Slack to continue the conversation: http://nodered.org/slack
> ---
> 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.
> To post to this group, send email to node...@googlegroups.com.
> Visit this group at https://groups.google.com/group/node-red.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/node-red/c8671d99-7ff2-453f-88bf-0e5a59e77368%40googlegroups.com.

Patrick

unread,
Dec 6, 2017, 5:12:48 AM12/6/17
to Node-RED
Hi Collin,

on both machines:

C:\Users\admin\.node-red>
C:\Users\admin\.node-red>npm list one_of_the_missing_nodes
node-red...@0.0.1 C:\Users\admin\.node-red
`-- (empty)


C:\Users\admin\.node-red>npm list -g one_of_the_missing_nodes
C:\Users\admin\AppData\Roaming\npm
`-- (empty)

Colin Law

unread,
Dec 6, 2017, 5:19:10 AM12/6/17
to node...@googlegroups.com
Sorry, I meant you to put the actual name of one of the missing nodes
in the command.


Colin
> --
> http://nodered.org
>
> Join us on Slack to continue the conversation: http://nodered.org/slack
> ---
> 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.
> To post to this group, send email to node...@googlegroups.com.
> Visit this group at https://groups.google.com/group/node-red.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/node-red/64adcc19-17cd-4fb0-b75c-287f547738ed%40googlegroups.com.

Patrick

unread,
Dec 6, 2017, 6:16:37 AM12/6/17
to Node-RED
uuh.. I thought "one_of_the_missing_nodes" would be a super top secret special key.. lovl :-))

found my error:

the tool nssm.exe can start node-red as a service. but there was my fault. I didnt set the "log on" account. So there maybe was the service startet as "administrator" or else..
Now, where I start nodered as my correct service (with my usersettings) I found a blank node-red.. (surprise?).
then I had install my needed modules and nodes and copy them to the other machine..
WORKS !!!

Thank @ All

have a nice day and merry christmas
Reply all
Reply to author
Forward
0 new messages