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

Rob*_*ans 5 memory memory-leaks module node.js npm

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

npm install v8-profiler
Run Code Online (Sandbox Code Playgroud)

响应(缩写为错误部分) - 您可以在此处查看完整错误及其更多评论: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
Run Code Online (Sandbox Code Playgroud)

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

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

任何有关此事的帮助将不胜感激.

Rob*_*ans 2

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