Hi!
This is my first post in this forum but I am using Node-RED for some long time and I have to say it is a great tool for fast programming interfaces in an industrial context, too. So, thanks to all professional and voluntary developers who made this tool possible.
But back to my issue...
I created a subflow and packed it as a module accordingly to the howto in the docs. This package is hosted on a private Gitlab instance and also hosted as an npm package in a private registry. This workflow works fine and at the and I have an installed node-red package in an running docker container I deployed from this registry to.
I show here now a simple example to demonstrate my issue...
The subflow node is available in the palette:
If I add the node to the flow and deploy it, I will get an TypeError: Cannot read properties of undefined (reading '_originalWires')
.
With a more complex subflow the property which is not readable changes but it is all the time a TypeError: Cannot read,...
Here the subflow JSON:
{
"id": "testsubflow",
"type": "subflow",
"name": "Testsubflow",
"info": "",
"category": "",
"in": [
{
"x": 380,
"y": 160,
"wires": []
}
],
"out": [
{
"x": 660,
"y": 240,
"wires": [
{
"id": "b162a17b6d3cda34",
"port": 0
},
{
"id": "f6c5c0739395d41c",
"port": 0
}
]
}
],
"env": [],
"meta": {},
"color": "#DDAA99",
"flow":
[
{
"id": "b162a17b6d3cda34",
"type": "inject",
"z": "f6c5c0739395d41c",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "1",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 450,
"y": 240,
"wires": [
[]
]
}
]
}
It is quiet simple, it contains just an inject node which injects the actual timestamp to an output.
Any ideas?
Thank in advance!
nico