node.js – 警告:node-0.12.0已经安装,它只是没有链接

当我运行brew安装节点时,我得到:

[~]$brew install node
Warning: node-0.12.0 already installed, it's just not linked

如果我这样做$brew链接–overwrite –dry-run节点我得到:

Would remove:
/usr/local/share/man/man1/node.1
/usr/local/lib/dtrace/node.d

丢失了我可以忍受的手册页但是lib呢?

最佳答案 成功安装节点后,需要链接它.你可以通过运行:

brew link homebrew/versions/node012

要了解原因,您可以阅读here.

点赞