FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
a week ago
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.
a week ago - last edited a week ago
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:
a week ago - last edited a week ago
@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?
a week ago - last edited a week ago
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.
a week ago
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!