You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear all,
I'm trying to load a node based on new node-red dashboard api addWidget
but i have an error when loading
TypeError: RED.require is not a function
in my node I have the following code :
ui = RED.require("node-red-dashboard")(RED);
seems that require is not available in the object RED
but I use the version 0.19.5
which is working outside of the test env.
Thank you for your help.
The text was updated successfully, but these errors were encountered:
yes you cannot test that, I cannot imagine a scenario to use this. only isolated nodes. Or very very simple and dummy nodes. I also tried a lot of things but it seems that RED instance is not loading any additional nodes.
Dear all,
I'm trying to load a node based on new node-red dashboard api addWidget
but i have an error when loading
TypeError: RED.require is not a function
in my node I have the following code :
ui = RED.require("node-red-dashboard")(RED);
seems that require is not available in the object RED
but I use the version 0.19.5
which is working outside of the test env.
Thank you for your help.
The text was updated successfully, but these errors were encountered: