Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes with node-red-contrib-freeboard installed #12

Open
microspace opened this issue Apr 5, 2016 · 3 comments
Open

Crashes with node-red-contrib-freeboard installed #12

microspace opened this issue Apr 5, 2016 · 3 comments

Comments

@microspace
Copy link

Node-red crashed when https://github.com/urbiworx/node-red-contrib-freeboard is installed.

Node-RED version: v0.13.1
Node.js version: v0.10.38

5 Apr 12:18:08 - [red] Uncaught Exception:

5 Apr 12:18:08 - TypeError: Object function (entry) {
  return this.indexOf(entry) !== -1;
} has no method 'end'
    at interval (/home/root/node-red/node_modules/node-red-contrib-freeboard/freeboard.js:71:12)
    at wrapper [as _onTimeout] (timers.js:261:14)
    at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)

Please can you point me to the problem?

@monteslu
Copy link
Owner

monteslu commented Apr 5, 2016

This looks like its just a problem with the freeboard plugin.

Did you try uninstalling node-red-contrib-freeboard and seeing if node-red-contrib-gpio still works?

@microspace
Copy link
Author

Yes, uninstalling node-red-contrib-freeboard solves the problem. Cant you please give a glance at error part of code? Maybe there is something unisual? https://github.com/urbiworx/node-red-contrib-freeboard/blob/master/freeboard.js#L71

@gotititu
Copy link

gotititu commented Apr 9, 2016

I installed node.js 4.4.2 and the error is different
9 Apr 16:06:37 - TypeError: resp[i].end is not a function at interval [as _repeat] (/usr/lib/node_modules/node-red-contrib-freeboard/freeboard.js:71:12) at wrapper [as _onTimeout] (timers.js:275:11) at Timer.listOnTimeout (timers.js:92:15)
The workaround via node-red-node-dweetio and then using freeboard to connect to dweet datasource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants