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

cannot install memwatch-next for node v8.x #40

Open
jainaman-blt opened this issue Jun 14, 2018 · 3 comments
Open

cannot install memwatch-next for node v8.x #40

jainaman-blt opened this issue Jun 14, 2018 · 3 comments

Comments

@jainaman-blt
Copy link

Getting errors while install memwatch-next for node version > v8.x as it runs node-gyp rebuild

[email protected] install /home/aman/builtio/excel-adaptors/node_modules/memwatch-next
node-gyp rebuild

make: Entering directory '/home/aman/builtio/excel-adaptors/node_modules/memwatch-next/build'
CXX(target) Release/obj.target/memwatch/src/heapdiff.o
CXX(target) Release/obj.target/memwatch/src/init.o
../src/init.cc: In function ‘void init(v8::Handlev8::Object)’:
../src/init.cc:20:17: warning: ‘static void v8::V8::AddGCEpilogueCallback(v8::GCCallback, v8::GCType)’ is deprecated: Use isolate version [-Wdeprecated-declarations]
v8::V8::AddGCEpilogueCallback(memwatch::after_gc);
^
In file included from /home/aman/.node-gyp/8.11.1/include/node/v8.h:26:0,
from ../src/init.cc:5:
/home/aman/.node-gyp/8.11.1/include/node/v8.h:7901:12: note: declared here
void AddGCEpilogueCallback(GCCallback callback,
^
/home/aman/.node-gyp/8.11.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
../src/init.cc:20:57: warning: ‘static void v8::V8::AddGCEpilogueCallback(v8::GCCallback, v8::GCType)’ is deprecated: Use isolate version [-Wdeprecated-declarations]
v8::V8::AddGCEpilogueCallback(memwatch::after_gc);
^
In file included from /home/aman/.node-gyp/8.11.1/include/node/v8.h:26:0,
from ../src/init.cc:5:
/home/aman/.node-gyp/8.11.1/include/node/v8.h:7901:12: note: declared here
void AddGCEpilogueCallback(GCCallback callback,
^
/home/aman/.node-gyp/8.11.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
CXX(target) Release/obj.target/memwatch/src/memwatch.o
../src/memwatch.cc: In function ‘void AsyncMemwatchAfter(uv_work_t*)’:
../src/memwatch.cc:128:35: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
g_cb->Call(3, argv);
^
In file included from ../src/memwatch.hh:9:0,
from ../src/memwatch.cc:6:
../../nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^
../src/memwatch.cc:203:31: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value
) const’ is deprecated [-Wdeprecated-declarations]
g_cb->Call(3, argv);
^
In file included from ../src/memwatch.hh:9:0,
from ../src/memwatch.cc:6:
../../nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^
CXX(target) Release/obj.target/memwatch/src/util.o
SOLINK_MODULE(target) Release/obj.target/memwatch.node
COPY Release/memwatch.node

@vhmth
Copy link

vhmth commented Jun 28, 2018

This has been happening for us as well. It doesn't seem like anything landed that would trigger this, but it's strange that this issue would pop up 15 days ago and be around the time we started to see issues as well. Any ideas @marcominetti?

@wtfdaemon
Copy link

Seeing the same thing, sigh.

@rgeraldporter
Copy link

Try this fork: https://www.npmjs.com/package/node-memwatch

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

4 participants