Not sure I quite understand. node-red-start should load the flow file and run it automatically. It should already be running by the time you can load the ui in the browser. The console window should report which flow file is loaded/running.
But just to reiterate, this should be entirely unnecessary - if you can see the flows in the editor when it loads, then they should be running already.
Can you paste the startup log?
I got that exact same message when node-red was v0.12.2 see https://groups.google.com/d/msg/node-red/-vN5tU7DWKg/_DJxxkmvAQAJ however since v0.13.3 it is working fine for me, did you not upgrade recently ?
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
For more options, visit https://groups.google.com/d/optout.
You need to set the content-type HTTP header to application/json
--
--
Are you creating the config on startup then? Or is it already in the flow file?
The reload action is there so you don't have to provide the full flow config with the request - it tells the runtime to reload the flow config from storage.
All of the other actions on /flows do require you to provide the full config in the request - which is why you hit errors when you try them without a flow config included. I'll take a look at improving the error reporting in those cases.
--
addFlow will add the new flow (ie tab) to the active configuration. The call will return (via a promise) the generated id of the new flow.updateFlow can be used to update an existing flow.Is that not what you see?
--
Adam,have re-created the base problem here now... (ie deploy flow before install) - and indeed not running is not how it should behave... so will investigate to see what's up.
--