May-11th-2020, 05:38 AM
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 ...
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
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)