Node.js v8-profiler 模块无法安装
我正在尝试调试 Node.js 应用程序中的内存泄漏,但无法通过 npm 安装 v8-profiler 模块:
npm install v8-profiler
响应(缩写为错误部分) - 您可以在此处查看完整的错误和更多评论:< a href="https://github.com/dannycoates/v8-profiler/issues/9" rel="noreferrer">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]
我我正在使用节点0.6.10 在 Debian 6.0.3 上从源代码构建。我对任何其他 NPM 模块都没有遇到任何问题。
我还尝试在具有相同操作系统但使用节点 0.4.12 的计算机上安装该模块,但出现同样的问题。
任何有关此事的帮助将不胜感激。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
v8-profiler 无法使用最新版本的 Node.js 进行编译,但现已更新修复了上述问题。问题解决了。
The v8-profiler wouldn't compile with the latest version of Node.js but has now been updated fixing the issues above. Problem solved.