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
i am using johnny-five to blink my led but when the app start arduino built-in leds blink and the app crash :(
Expected behavior
arduino should blink
Actual behavior
error, this is the error:
Error [ERR_UNHANDLED_ERROR]: Unhandled error. ([object Object])
at Board.emit (events.js:140:19)
at Board.log (/home/mohammed/node_modules/johnny-five/lib/board.js:630:8)
at Board.(anonymous function) [as error] (/home/mohammed/node_modules/johnny-five/lib/board.js:641:14)
at Board.<anonymous> (/home/mohammed/node_modules/johnny-five/lib/board.js:385:14)
at ontimeout (timers.js:466:11)
at tryOnTimeout (timers.js:304:5)
at Timer.listOnTimeout (timers.js:264:5)
Error: async hook stack has become corrupted (actual: 9, expected: 10)
1: node::Environment::AsyncHooks::pop_async_id(double) [/home/mohammed/Desktop/node-webkit-projects/app/node_modules/nw/nwjs/lib/libnode.so]
2: node::InternalCallbackScope::Close() [/home/mohammed/Desktop/node-webkit-projects/app/node_modules/nw/nwjs/lib/libnode.so]
3: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) [/home/mohammed/Desktop/node-webkit-projects/app/node_modules/nw/nwjs/lib/libnode.so]
4: 0x7fcfebbdf2e1 [/home/mohammed/Desktop/node-webkit-projects/app/node_modules/nw/nwjs/lib/libnode.so]
5: 0x7fcfebff2056 [/home/mohammed/Desktop/node-webkit-projects/app/node_modules/nw/nwjs/lib/libnode.so]
6: uv_run [/home/mohammed/Desktop/node-webkit-projects/app/node_modules/nw/nwjs/lib/libnode.so]
7: 0x7fcfffd23cd3 [/home/mohammed/Desktop/node-webkit-projects/app/node_modules/nw/nwjs/lib/libnw.so]
my js:
var five = require('johnny-five');
var board = new five.Board();
board.on('ready', function() {
var led = new five.Led(12);
led.blink(500);
});
The text was updated successfully, but these errors were encountered:
mohammedgqudah
changed the title
i got this error message and my app crash
i got this error message and my app crash, when using johnny-five
Jan 5, 2018
NWJS Version : v0.27.3
Operating System : ubuntu
i am using johnny-five to blink my led but when the app start arduino built-in leds blink and the app crash :(
Expected behavior
arduino should blink
Actual behavior
error, this is the error:
my js:
The text was updated successfully, but these errors were encountered: