gpt4 book ai didi

ubuntu - 无法运行 Phoenix 服务器。找不到 erlang/lib/parsetools-2.1.8

转载 作者:行者123 更新时间:2023-12-04 18:36:26 25 4
gpt4 key购买 nike

~/Desktop/phoenix_sandbox/app$ mix phx.server
==> gettext
Compiling 1 file (.yrl)
/usr/lib/erlang/lib/parsetools-2.1.8/include/yeccpre.hrl: no such file or directory

could not compile dependency :gettext, "mix compile" failed. You can recompile this dependency with "mix deps.compile gettext", update it with "mix deps.update gettext" or clean it with "mix deps.clean gettext"

我一直在绕着错误转圈子。我安装了“解析工具”(不管它是什么)。如果我执行“mix deps.clean gettext”,它会带我转圈,我会得到同样的错误。我在 Ubuntu

最佳答案

erlang-dev需要提供包yeccpre.hrl(apt-file 或 google 用于 debian 的包 repo 可以帮助识别这些情况,这里是 erlang-dev 包含在 buster 中的文件列表,parsetools 版本不同,但是您的 erlang 包集应该为您纠正这个问题:
https://packages.debian.org/buster/arm64/erlang-dev/filelist )

关于ubuntu - 无法运行 Phoenix 服务器。找不到 erlang/lib/parsetools-2.1.8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61631075/

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