Installing new nodes / plugins?
When using S7 and OPC-UA nodes the installation of new nodes can fail (endless loop). This is an tutorial on how to install them nevertheless (be careful, this removes all existing plugins)
less than a minute
Instructions
First: Go to UMHLens. Open “workloads”, go to “Pods”, select the namespace “united-manufacturing-hub”. Next, open the console of the Node-Red-Pod and enter the following commands:
cd /data && rm -rf node_modules
rm package-lock.json
- Then install the packages that you actually need, e.g.,
npm install --verbose node-red-contrib-s7 node-red-contrib-cron-plus node-red-contrib-opcua node-red-contrib-edge-trigger node-red-contrib-convert node-red-contrib-float
- As a next step you need to reboot the container either by typing in
reboot
or killing the pod
Last modified February 17, 2023: update (#208) (ea731fc)