5

在卸载 nodejs 时尝试删除节点模块时,我删除了整个 /usr/local/lib/dtrace 目录。如何恢复 dtrace 目录的内容?

4

1 回答 1

1

我不知道该/usr/local/lib/dtrace目录的意义,但我的权限是 755 ( rwxr-xr-x),并且只包含一个名为node.d权限 644 ( -rw-r--r--) 的文本文件。

该文件顶部的评论说:

* This is the DTrace library file for the node provider, which includes
* the necessary translators to get from the args[] to something useful.

您可以在此处node.d下载该文件的副本。

于 2019-10-28T19:22:48.347 回答