30 Dec 13:14:30 - [info] Node-RED version: v0.11.2
30 Dec 13:14:30 - [info] Node.js version: v0.12.7
30 Dec 13:14:30 - [info] Loading palette nodes
30 Dec 13:14:31 - [warn] ------------------------------------------
30 Dec 13:14:31 - [warn] Failed to register 1 node type
30 Dec 13:14:31 - [warn] Run with -v for details
30 Dec 13:14:31 - [warn] ------------------------------------------
30 Dec 13:14:31 - [info] Settings file : /usr/local/lib/node_modules/node-red/settings.js
30 Dec 13:14:31 - [info] User directory : /home/karthhic/.node-red
30 Dec 13:14:31 - [info] Flows file : /home/karthhic/.node-red/flows_J.json
30 Dec 13:14:31 - [info] Server now running at http://127.0.0.1:1880/
30 Dec 13:14:31 - [info] Starting flows
30 Dec 13:14:31 - [info] Started flows
30 Dec 13:14:31 - [error] [xml:ed54492c.e9664] Error: Non-whitespace before first tag.
Line: 0
Column: 1
Char: {
30 Dec 13:14:31 - [red] Uncaught Exception:
30 Dec 13:14:31 - Error: Text data outside of root node.
Line: 0
Column: 2
Char: "
at error (/usr/local/lib/node_modules/node-red/node_modules/xml2js/node_modules/sax/lib/sax.js:652:8)
at strictFail (/usr/local/lib/node_modules/node-red/node_modules/xml2js/node_modules/sax/lib/sax.js:675:22)
at Object.write (/usr/local/lib/node_modules/node-red/node_modules/xml2js/node_modules/sax/lib/sax.js:981:13)
at Parser.exports.Parser.Parser.processAsync (/usr/local/lib/node_modules/node-red/node_modules/xml2js/lib/xml2js.js:256:41)
at Immediate._onImmediate (/usr/local/lib/node_modules/node-red/node_modules/xml2js/lib/xml2js.js:7:59)
at processImmediate [as _immediateCallback] (timers.js:367:17)
Yikes !
The error is caused by the XML node not receiving clean XML (or a formatted json object to turn into XML)
But... Indeed it shouldn't cause an error to kill everything... We should catch it somewhat better. So will need to look at it.
So if you are on a pi the chances are it is /home/pi/.node-red
If you haven't done anything you want to save you can delete that file.
Alternatively if you know the name of the xml file you could try editing the flows_ file to change the name of the xml file to something thats doesn't exist.
This should allow node-red to run.
/home/karthhic/.node-red/flows_J.json