Node.js v8-profiler module won't install
Problem
I'm 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 response (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
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 [email protected]
I am using node 0.6.10 built from source on Debian 6.0.3. I've not had any issues with any other NPM modules.
I also tried an install of the module on a machine with the same OS but using node 0.4.12 with the same issue.
Any help in this matter would be greatly appreciated.
Solution
The v8-profiler wouldn't compile with the latest version of Node.js but has now been updated fixing the issues above. Problem solved.
Discussion
View additional discussion.