简体   繁体   中英

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: 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 v8-profiler@0.0.3

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM