I have saved the flows from a running nodered. now i want to import that flow on nodered without dashboard (want to start on dashboard-2) now it say Error: TypeError: v is undefined
How to correct this ? Or possible to import, even with mystery-empty nodes ?
Or a way to avoid this ? To save a Neutral flow so it import on any node red?
In theory, any valid flow should import into Node-RED; especially if its one you've exported from another instance and not made any manual modifications.
The error Error: TypeError: v is undefined rings a bell ... I'll see if I can remember where from...
Can you share you flow file with me directly so I can investigate? You can email it to nick.oleary@gmail.com. There were a number of changes in 4.0.6 around how the editor imports flows - want to ensure this isn't an issue with those changes.
Thanks for sharing your flow. I can confirm this is a regression in 4.0.6 (released yesterday, but not yet announced in case anyone is wondering...)
@GogoVega related to importing a flow with unknown types:
TypeError: Cannot read properties of undefined (reading 'defaults')
at Object.importNodes [as import] (red.js?v=2160f8acfb0f:6810:68)
at Object.importNodes (red.js?v=2160f8acfb0f:27831:42)
at importNodes (red.js?v=2160f8acfb0f:45130:22)
at HTMLDivElement.click (red.js?v=2160f8acfb0f:44272:33)
at HTMLButtonElement.<anonymous> (vendor.js?v=2160f8acfb0f:10:176787)
at HTMLButtonElement.dispatch (vendor.js?v=2160f8acfb0f:2:43090)
@old-grumpy, in the meantime you should be able to install the previous version of node-red 4.0.5 by running sudo npm install -g --unsafe-perm node-red@4.0.5
OK removed the old dash nodes. now i wonder how to remove the link to the old dash nodes see error i got Flows stopped due to missing node types.
ui_group
ui_tab
Normaly you solve it by installing the flow but i do not want dashboard.
@old-grumpy if you open the config nodes sidebar on the right of the editor, you should see the ui_group and ui_tab config nodes - showing as 'unknown'. Double click on each one to open the edit dialog and click the delete button to remove it.