- Once I removed all containers.
- I just added hilschernetpi/netpi-nodered.
- I used a node 'OpcUa-Server' and then I got an error as attached.
"Error: get-installed-path: module not found "node-opcua-server" in path /usr/lib/node_modules/node-red-contrib-opcua/node-opcua-server"
Note: I found node-opcua-server in /usr/lib/node_modules/node-red-contrib-opcua/node_modules/node-opcua-server.
I created a meaningful data flow, but this error did not still go away.
If you can guess the possible problems, I would appreciate your advice.
Thank you very much for your support.
Best regards,
They are reporting the same issue but with Node-RED version 0.20.3. The problem has been corrected meanwhile in the source code as I read the answer of the developer in the ticket.
Our Node-RED container uses Node-RED in the version 1.0.6 and node.js in the version v12.16.3. Maybe this Node-RED and node.js combo let show the error again. In our container the node-red-contrib-version 0.2.49 is installed by default but also the latest version node-red-contrib-version 0.2.52 shows the same error.
But there is a work around for you meanwhile. You can update the installed version 0.2.49 with the new version 0.2.52 if you use the "manage palette" function in Node-RED top right menu. Enter in "nodes" the term "opcua" and then press update. when it is finished restart the container and then it will work.
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)