Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

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

@jainaman-blt

Description

@jainaman-blt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions