FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
10-08-2024 09:05 AM
Hi
I'm trying to install the node node-red-contrib-opcua-server offline and found this how-to.
@Sgilkhow do I install and use the node-packager?
https://github.com/boschrexroth/node-packager
Solved! Go to Solution.
10-08-2024 09:22 AM - edited 10-08-2024 02:24 PM
Moved to own topic from how to "Bundle npm Packages for Offline Node-RED Installation".
For using the package-manager please check out the README.md file that can be found in the root path of the GitHub repository or by simply scrolling down on the root page.
In short:
10-08-2024 01:10 PM - edited 10-08-2024 01:11 PM
@CodeShepherd Thank you for your answer!
The readme doesn't mention any installation steps and in the prerequisites it only says that node.js needs to be installed.
It needs to be a linux system and go needs to be installed.
If I then run
go run /home/boschrexroth/node-packager-main/cmd/node-packager/main.go node-red-contrib-opcua-server
it downloads some stuff the first time, than it downloads the node I want but finally exits with status 1.
I run this in an app builder environment.
So still no success. What am I doing wrong?
10-08-2024 02:23 PM - edited 10-08-2024 02:26 PM
You are right, you need to install Node.js but go is not needed. It does not matter if Linux or Windows is used, just download the corresponding release file !!not the source code!!. See releases. I also updated my post above.
Then start the executable via the command line like mentioned in the README.md.
10-08-2024 03:29 PM
Success!
Library 'node-red-contrib-opcua-server-1.1.1.tgz' [8.0 MB] successfully packed in 14m48.3507834s.
Installation in node red on CtrlX also passed.
@CodeShepherdThank you very much for your support!