I am trying to debug a memory leak in a Node.js application, but cannot install the v8-profiler module via npm:
npm install v8-profiler
The answer (shortened to the error section) - you can see the full error and more comments about it here: https://github.com/dannycoates/v8-profiler/issues/9 p>
Build failed:
-> task failed (err #1):
{task: cxx snapshot.cc -> snapshot_1.o}
-> task failed (err #1):
{task: cxx graph_path.cc -> graph_path_1.o}
-> task failed (err #1):
{task: cxx graph_node.cc -> graph_node_1.o}
npm ERR! error installing v8-profiler@0.0.3
I am using node 0.6.10, built from source in Debian 6.0.3. I had no problems with other NPM modules.
I also tried installing the module on a machine with the same OS, but using node 0.4.12 with the same problem.
Any help in this matter would be greatly appreciated.
source
share