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

Demo not working #4

Open
Guillaume-succubus opened this issue May 26, 2020 · 1 comment
Open

Demo not working #4

Guillaume-succubus opened this issue May 26, 2020 · 1 comment

Comments

@Guillaume-succubus
Copy link

I cloned the repo then cd into it and use npm install.

I got this error :

from ../../nan/nan.h:53,
from ../src/binding.cpp:1:
../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfoNan::ObjectWrap&)’:
../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistentv8::Object’ has no member named ‘IsNearDeath’
124 | assert(wrap->handle_.IsNearDeath());

resulting in :

Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/guillaume/stage/testJoysticks/ng-joystick/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)

Do you now how to fix ?

@EnricoPicci
Copy link
Owner

Looks like a problem of Node version and compatibility with the npm packages required.

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

2 participants