I am using OPCUA in node-red. I am getting "ReferenceError: opcuaBasics is not defined". I have installed "node-red-contrib-opcua (0.2.299)". Plz suggest.
@mr.saubhagya Welcome to the forum,
- latest version of node-red-contrib-opcua is v0.2.302
- what version of Node-RED and node.js are you running (you can get these from the NR startup log or open a terminal window on the device running NR and type
- have you used OpcUa-Item to define variables? (per the node's readme)
- Try adding a
changenode connected to a
debugnode (set to display the
complete msg object) qaand see if that gives more information
- which of the OPC nodes are you using?
can you create a small flow demonstrating the issue? If you can please export it and attach it to a reply.
Please make sure to answer ALL of the questions.
In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote
``` code goes here ```
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json
I updated the node version and it worked.