gpt4 book ai didi

macos - 索引中没有找到端口农奴;无法重建

转载 作者:行者123 更新时间:2023-12-04 00:53:06 25 4
gpt4 key购买 nike

我正在尝试安装 npm port 包,但是当我运行命令“sudo port install npm”时,bash 显示下面的错误消息,并无限重复相同的错误。

Warning: No port serf found in the index; can't rebuild
---> Found 0 broken port(s), determining rebuild order
---> Rebuilding in order
---> Scanning binaries for linking errors: 100.0%
---> Found 2 broken file(s), matching files to ports

我该如何解决这个问题?

谢谢。

最佳答案

为了解决这个问题,我做了一个端口清理和停用,步骤:

sudo port clean serf
sudo port -f deactivate serf
sudo port install serf

按照上面的步骤我的问题就解决了。

关于macos - 索引中没有找到端口农奴;无法重建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11697507/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com