Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Node.js v8-profiler module won't install

Node.js v8-profiler module won't install


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:

Build failed:
 -> task failed (err #1):
        {task: cxx -> snapshot_1.o}
 -> task failed (err #1):
        {task: cxx -> graph_path_1.o}
 -> task failed (err #1):
        {task: cxx -> 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.

Problem courtesy of: Rob Evans


The v8-profiler wouldn't compile with the latest version of Node.js but has now been updated fixing the issues above. Problem solved.

Solution courtesy of: Rob Evans


View additional discussion.

This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

Node.js v8-profiler module won't install


Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription