gpt4 book ai didi

Elixir phoenix live reload 不起作用

转载 作者:行者123 更新时间:2023-12-01 07:33:59 31 4
gpt4 key购买 nike

我的操作系统是最新的 macOS high sierra。我通过 Homebrew 安装了 elixir 和所有依赖项。我创建了一个新的 Phoenix 应用程序。它显示了一些错误。实时重新加载不起作用。下面是信息。

[error] Can't find executable `mac_listener`
[warn] Could not start Phoenix live-reload because we cannot listen to the file system.
You don't need to worry! This is an optional feature used during development to
refresh your browser when you save files and it does not affect production.

似乎某些文件更改监听器服务未运行。但我不知道如何解决它。

最佳答案

我通过重新安装命令行工具解决了这个问题。
打开 bash,然后输入:

xcode-select --install

然后,运行 mix deps.compile file_system重新编译 file_system 模块。完毕。

关于Elixir phoenix live reload 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47645704/

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