Node.js v8-profiler模块将无法安装

时间:2012-02-05 19:48:17

标签: memory node.js module memory-leaks npm

我正在尝试调试Node.js应用程序中的内存泄漏但无法通过npm安装v8-profiler模块:

npm install v8-profiler

回复(缩写为错误部分) - 您可以在此处查看完整错误及其相关评论: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

我正在使用Debian 6.0.3上的源代码构建的节点0.6.10。我对任何其他NPM模块都没有任何问题。

我还尝试在具有相同操作系统的计算机上安装模块,但使用节点0.4.12并存在相同的问题。

非常感谢任何有关此事的帮助。

1 个答案:

答案 0 :(得分:2)

v8-profiler无法使用最新版本的Node.js进行编译,但现在已经更新,修复了上述问题。问题解决了。