Comments (6)
@eduardbcom Why not just create a PR to the original repo? Isn't that what open source is about?
from node-memwatch.
Use https://www.npmjs.com/package/node-memwatch, have updated it to support node >= 9.
from node-memwatch.
I think the issue is that it's gonna take some more work to make a version that works on both versions of node.
from node-memwatch.
/Users/alexandrupetru/.node-gyp/10.1.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
../src/memwatch.cc:129:35: error: expected ';' after expression
Nan::AsyncResource async("nan:Callback:Call");
^
;
../src/memwatch.cc:129:22: error: no member named 'AsyncResource' in namespace 'Nan'
Nan::AsyncResource async("nan:Callback:Call");
~~~~~^
../src/memwatch.cc:129:36: error: use of undeclared identifier 'async'
Nan::AsyncResource async("nan:Callback:Call");
^
../src/memwatch.cc:130:38: error: use of undeclared identifier 'async'
g_cb->Call(3, argv, &async);
^
../src/memwatch.cc:206:31: error: expected ';' after expression
Nan::AsyncResource async("nan:Callback:Call");
^
;
../src/memwatch.cc:206:18: error: no member named 'AsyncResource' in namespace 'Nan'
Nan::AsyncResource async("nan:Callback:Call");
~~~~~^
../src/memwatch.cc:206:32: error: use of undeclared identifier 'async'
Nan::AsyncResource async("nan:Callback:Call");
^
../src/memwatch.cc:207:34: error: use of undeclared identifier 'async'
g_cb->Call(3, argv, &async);
^
4 warnings and 8 errors generated.
make: *** [Release/obj.target/memwatch/src/memwatch.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/usr/local/Cellar/node/10.1.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/alexandrupetru/WebstormProjects/epkstore/node_modules/node-memwatch
gyp ERR! node -v v10.1.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
Maybe it helps.
from node-memwatch.
It works with Node 10 on Ubuntu 16.04 but it fails on High Sierra.Sorry for not being specific.
from node-memwatch.
I have got the same error message on Windows 10 1903 with node v10.16.0 using memwatch-next
:
win_delay_load_hook.cc
c:\...\project_name\node_modules\memwatch-next\src\init.cc(20): error C2039: "AddGCEpilogueCallback": Ist kein Element von "v8::V8" [c:\...\project_name\node_modules\memwatch-next\bu
ild\memwatch.vcxproj]
c:\users\adrian dymorz\appdata\local\node-gyp\cache\10.16.0\include\node\v8.h(8087): note: Siehe Deklaration von "v8::V8"
c:\...\project_name\node_modules\memwatch-next\src\init.cc(20): error C3861: "AddGCEpilogueCallback": Bezeichner wurde nicht gefunden. [c:\...\project_name\node_modules\memwatch-next
\build\memwatch.vcxproj]
With node-memwatch
it worked without troubles.
from node-memwatch.
Related Issues (20)
- discrepancy between 'pm2 monitor', 'top', and memwatch HOT 1
- can't install on node 8.x HOT 3
- Rename this repository to `memwatch-next`?
- Heap usage: `int` and `time_t` are used instead of `size_t` by mistake HOT 1
- No dump generated on Node 6.9.1 + BeanStalk
- Create Pre-builds
- Cannot install in Node 8.9.4
- cannot install memwatch-next for node v8.x HOT 3
- Error installing it in the Docker alipine node 8.11.4 image HOT 3
- For those needing node 9.x+ support HOT 1
- Install failure on osx Mojave HOT 2
- cannot install on node v11.8.0 HOT 13
- spurious message on start
- Cannot install on node version 12.13.1 HOT 5
- Can't install on Node v13.6.0 with npm 6.13.4, 'Handle': is not member of 'v8' HOT 1
- Memory leaks issue
- Please mark as deprecated HOT 4
- cannot install on MacOS HOT 1
- not able to install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-memwatch.