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

bindings.js:83 Uncaught Error: Module version mismatch. Expected 50, got 48 #22

Open
nphias opened this issue Oct 18, 2016 · 1 comment

Comments

@nphias
Copy link

nphias commented Oct 18, 2016

node version : 6.8.1 (same error for LTS version)
mac osx: 10.11 (el capitan)
xcode 8 installed
framework: (electron)

tried reinstall etc..

[email protected] install ../node_modules/memwatch-next

node-gyp rebuild

CXX(target) Release/obj.target/memwatch/src/heapdiff.o
CXX(target) Release/obj.target/memwatch/src/init.o
../src/init.cc:20:17: warning: 'AddGCEpilogueCallback' is deprecated
[-Wdeprecated-declarations]
v8::V8::AddGCEpilogueCallback(memwatch::after_gc);
^
/Users/x/.node-gyp/6.8.1/include/node/v8.h:6475:12: note:
'AddGCEpilogueCallback' has been explicitly marked deprecated here
void AddGCEpilogueCallback(GCCallback callback,
^
1 warning generated.
CXX(target) Release/obj.target/memwatch/src/memwatch.o
CXX(target) Release/obj.target/memwatch/src/util.o
SOLINK_MODULE(target) Release/memwatch.node
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9

code: var memwatch = require('memwatch-next');

@Nomia
Copy link

Nomia commented Oct 20, 2016

Same error here:
init.js:136 Error: Module version mismatch. Expected 50, got 46.
at Error (native)
at process.module.(anonymous function) as dlopen
at Object.Module._extensions..node (module.js:583:18)
at Object.module.(anonymous function) as .node
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at bindings (/Users/xxx/Desktop/wxbot-node/node_modules/memwatch-next/node_modules/bindings/bindings.js:76:44)(anonymous function) @ init.js:136

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