node-inspector / v8-profiler

node bindings for the v8 profiler
BSD 2-Clause "Simplified" License
1.13k stars 134 forks source link

dead? #137

Open Esqarrouth opened 4 years ago

Esqarrouth commented 4 years ago

is this project dead?

gustawdaniel commented 4 years ago

I can't install on node: v12.14.1.

This project was mentioned in article

https://medium.com/@petar.koretic/profiling-slow-node-js-apps-using-v8-profiler-5d44c07bf09f

when node 10 is described.

Example of error

 Tried to download(404): https://node-inspector.s3.amazonaws.com/profiler/v5.7.0/node-v72-linux-x64.tar.gz 
nerkn commented 3 years ago

cant install using npm on node 14.15

npm ERR! /home/n/.cache/node-gyp/14.15.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void ()(const v8::WeakCallbackInfo&)]’: npm ERR! ../../nan/nan_object_wrap.h:65:61: required from here npm ERR! /home/n/.cache/node-gyp/14.15.1/include/node/v8.h:10867:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo::Callback’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} [-Wcast-function-type] npm ERR! make: *** [profiler.target.mk:119: Release/obj.target/profiler/src/cpu_profiler.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: make failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:315:20) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) npm ERR! gyp ERR! System Linux 5.4.0-70-generic npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/mnt/control/node_modules/v8-profiler/build/profiler/v5.7.0/node-v83-linux-x64/profiler.node" "--module_name=profiler" "--module_path=/control/node_modules/v8-profiler/build/profiler/v5.7.0/node-v83-linux-x64" npm ERR! gyp ERR! cwd /mnt/control/node_modules/v8-profiler npm ERR! gyp ERR! node -v v14.15.1 npm ERR! gyp ERR! node-gyp -v v7.1.2

mmigdol commented 2 years ago

Hope this helps others finding their way here. Here is a fork that works all the way through Node 18.