• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error when using a node 'OpcUaServer'
#2
I see the same error.

It seems to be a problem also others had in year 2019. See this issue here https://github.com/mikakaraila/node-red-...issues/110.

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.

I went into the source code of version 0.2.52. https://github.com/mikakaraila/node-red-...aserver.js in accordance to the issue https://github.com/mikakaraila/node-red-...issues/110 at line 85 to see if the correction was done and I see it was indeed corrected ...


Code:
    var serverPkg = installedPath.getInstalledPathSync('node-opcua-server', {
    paths: [
         path.join(__dirname, '..'),
        path.join(__dirname, '../..'),
         path.join(process.cwd(), './node_modules'),
         path.join(process.cwd(), '.node-red/node_modules'),
     ],
})


I think this needs more investiation. If this is a bug then I have to report this as an issue to the developer

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Error when using a node 'OpcUaServer' - by tad - May-11th-2020, 03:38 AM
RE: Error when using a node 'OpcUaServer' - by Armin@netPI - May-11th-2020, 05:38 AM
RE: Error when using a node 'OpcUaServer' - by tad - May-11th-2020, 06:30 AM
RE: Error when using a node 'OpcUaServer' - by tad - May-12th-2020, 08:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Node Red configuration LucioFiam 3 1,826 November-30th-2022, 05:14 PM
Last Post: Armin@netPI
  Initial Setup of Control Panel with admin + admin thorws error Michi 4 2,905 January-28th-2022, 09:28 AM
Last Post: Michi
  cannot execute file: Exec format error - NETPI tuliosouza 1 1,838 January-13th-2022, 01:17 PM
Last Post: Armin@netPI
  secure node-red with a username and password Christian_Rau 3 3,054 December-3rd-2021, 11:06 AM
Last Post: Armin@netPI
  cifx0 and Node-Red fabio1975 5 3,316 November-22nd-2021, 01:13 PM
Last Post: Armin@netPI
  netPI opc ua server pull image error wswitula 3 3,259 August-27th-2021, 10:47 AM
Last Post: wswitula
  Node red web UI issue DSongra 3 3,311 July-22nd-2021, 02:47 PM
Last Post: Armin@netPI
  Node-RED 'projects' possible on netPI? JG_KIT 2 2,447 July-20th-2021, 01:11 PM
Last Post: JG_KIT
  Node-RED: OpcUa Client node tad 4 4,634 June-9th-2021, 08:51 AM
Last Post: tad
  Accessing a modbus device connected to RTE port from Node-RED tad 10 8,306 October-2nd-2020, 07:21 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 2 Guest(s)