警告:node-5.0.0已经安装,它只是没有链接

时间:2022-07-31 12:44:04

I am trying to install node js. I am getting the following error . Any idea?

我正在尝试安装节点js。我收到以下错误。任何想法?

brew install node
Warning: node-5.0.0 already installed, it's just not linked

Thanks

谢谢

3 个解决方案

#1


11  

You should be able to run:

你应该能够运行:

brew link node

What you're doing is telling Brew to create a symlink for the node executable to the /usr/bin (or /usr/local/bin) directory, as far as I am aware.

你所做的是告诉Brew为/ usr / bin(或/ usr / local / bin)目录创建一个可执行节点的符号链接,据我所知。

#2


3  

For this issue run

对于这个问题运行

brew link homebrew/versions/node<version no>

To know why, you can surf here.

要知道原因,你可以在这里冲浪。

#3


0  

You can run the below command to override all the conflicts.

您可以运行以下命令来覆盖所有冲突。

brew link --overwrite node

#1


11  

You should be able to run:

你应该能够运行:

brew link node

What you're doing is telling Brew to create a symlink for the node executable to the /usr/bin (or /usr/local/bin) directory, as far as I am aware.

你所做的是告诉Brew为/ usr / bin(或/ usr / local / bin)目录创建一个可执行节点的符号链接,据我所知。

#2


3  

For this issue run

对于这个问题运行

brew link homebrew/versions/node<version no>

To know why, you can surf here.

要知道原因,你可以在这里冲浪。

#3


0  

You can run the below command to override all the conflicts.

您可以运行以下命令来覆盖所有冲突。

brew link --overwrite node