{"action":"opened","issue":{"url":"https://api.github.com/repos/IBM-IoT/node-red-contrib-graphs/issues/8","labels_url":"https://api.github.com/repos/IBM-IoT/node-red-contrib-graphs/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/IBM-IoT/node-red-contrib-graphs/issues/8/comments","events_url":"https://api.github.com/repos/IBM-IoT/node-red-contrib-graphs/issues/8/events","html_url":"https://github.com/IBM-IoT/node-red-contrib-graphs/issues/8","id":127792313,"number":8,"title":"/dash fails to load any data","user":{"login":"jwcrawley","id":8072617,"avatar_url":"https://avatars.githubusercontent.com/u/8072617?v=3","gravatar_id":"","url":"https://api.github.com/users/jwcrawley","html_url":"https://github.com/jwcrawley","followers_url":"https://api.github.com/users/jwcrawley/followers","following_url":"https://api.github.com/users/jwcrawley/following{/other_user}","gists_url":"https://api.github.com/users/jwcrawley/gists{/gist_id}","starred_url":"https://api.github.com/users/jwcrawley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwcrawley/subscriptions","organizations_url":"https://api.github.com/users/jwcrawley/orgs","repos_url":"https://api.github.com/users/jwcrawley/repos","events_url":"https://api.github.com/users/jwcrawley/events{/privacy}","received_events_url":"https://api.github.com/users/jwcrawley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-20T21:51:11Z","updated_at":"2016-01-20T21:51:11Z","closed_at":null,"body":"Greetings,\r\n\r\nI'm running Node-Red v0.13.0 and Node.js version v0.10.25 . I have a user/password on my node-red, but no SSL. \r\n\r\nI proceed to load only the node-red-admin , node-red-contrib-admin , and your module. \r\n\r\nI use your Random Datasource flow to make sure that -graphs is working. I go to /dash and see a red unplugged icon in the corner. It spins forever trying to get the datasource.\r\n\r\nLooking at console, I see the following:\r\n\r\n\r\n_____________\r\nWelcome to Node-RED\r\n===================\r\n\r\n20 Jan 16:38:14 - [info] Node-RED version: v0.13.0\r\n20 Jan 16:38:14 - [info] Node.js  version: v0.10.25\r\n20 Jan 16:38:14 - [info] Loading palette nodes\r\n20 Jan 16:38:14 - [info] Dashboard up and running\r\n20 Jan 16:38:14 - [warn] ------------------------------------------\r\n20 Jan 16:38:14 - [warn] Failed to register 1 node type\r\n20 Jan 16:38:14 - [warn] Run with -v for details\r\n20 Jan 16:38:14 - [warn] ------------------------------------------\r\n20 Jan 16:38:14 - [info] Settings file  : /home/josh/.node-red/settings.js\r\n20 Jan 16:38:14 - [info] User directory : /home/josh/.node-red\r\n20 Jan 16:38:14 - [info] Flows file : /home/josh/.node-red/flows_josh-ThinkPad-W520.json\r\n20 Jan 16:38:15 - [info] Server now running at http://127.0.0.1:1880/\r\n20 Jan 16:38:15 - [info] Starting flows\r\n20 Jan 16:38:15 - [info] Started flows\r\n20 Jan 16:42:27 - [info] Stopping flows\r\n20 Jan 16:42:27 - [info] Stopped flows\r\n20 Jan 16:42:27 - [info] Starting flows\r\n20 Jan 16:42:27 - [info] Started flows\r\nTypeError: Object #<Object> has no method 'getFlows'\r\n    at /home/josh/node_modules/node-red-contrib-graphs/datasources.js:18:27\r\n    at Layer.handle [as handle_request] (/home/josh/node_modules/node-red-contrib-graphs/node_modules/express/lib/router/layer.js:95:5)\r\n    at next (/home/josh/node_modules/node-red-contrib-graphs/node_modules/express/lib/router/route.js:131:13)\r\n    at Route.dispatch (/home/josh/node_modules/node-red-contrib-graphs/node_modules/express/lib/router/route.js:112:3)\r\n    at Layer.handle [as handle_request] (/home/josh/node_modules/node-red-contrib-graphs/node_modules/express/lib/router/layer.js:95:5)\r\n    at /home/josh/node_modules/node-red-contrib-graphs/node_modules/express/lib/router/index.js:277:22\r\n    at Function.process_params (/home/josh/node_modules/node-red-contrib-graphs/node_modules/express/lib/router/index.js:330:12)\r\n    at next (/home/josh/node_modules/node-red-contrib-graphs/node_modules/express/lib/router/index.js:271:10)\r\n    at expressInit (/home/josh/node_modules/node-red-contrib-graphs/node_modules/express/lib/middleware/init.js:33:5)\r\n    at Layer.handle [as handle_request] (/home/josh/node_modules/node-red-contrib-graphs/node_modules/express/lib/router/layer.js:95:5)\r\n\r\n_____________________\r\n\r\nI also go into developer console on Firefox and notice that I'm getting a 500 Internal Server Error on /dash/api/datasources  (the only error listed).\r\n\r\nI'm not easily able to revert NR due to the Inject node supports some types I have sorely needed (mainly flow and number types). \r\n\r\nSincerely,\r\nJosh Conway"}}