zeitungen / node-rpi-rgb-led-matrix

Project not maintained :( - Pilot your rgb led matrix with Nodejs ! Nodejs binding of rpi-rgb-led-matrix library https://github.com/hzeller/rpi-rgb-led-matrix
Do What The F*ck You Want To Public License
57 stars 46 forks source link

Assertion `handle->InternalFieldCount() > 0' failed. #16

Closed iUltimateLP closed 6 years ago

iUltimateLP commented 6 years ago

Hey, I try to use this port but I can't run my test script. When I try to construct the LedMatrix object using

var display = LedMatrix(64, 2, 1);

then I get this back:

node: /home/pi/.node-gyp/8.8.1/include/node/node_object_wrap.h:77: void node::ObjectWrap::Wrap(v8::Local<v8::Object>): Assertion `handle->InternalFieldCount() > 0' failed.

Is this a bug? Thank you!

iUltimateLP commented 6 years ago

It only happens if you forget the "new" in front of LedMatrix, weird, but can be closed!