[在卸载nodejs时尝试删除节点模块时,我删除了整个/ usr / local / lib / dtrace目录。如何恢复dtrace目录的内容?
我不知道/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
文件here的副本。