使用 Micro.mu 启动微服务时出现权限错误

Permission error when starting a microservice with Micro.mu

我刚刚用 micro new <microservice_name> 使用 Micro. I have then installed the needed dependencies (protobuf) and run make proto, as specified in the official documentation 创建了一个新的微服务。但是,当我 运行 micro run . 时,我得到 Fork/exec /usr/local/Cellar/go: permission denied:.

我已经试过了:

没有任何变化:我仍然收到相同的错误消息。

我刚刚找到了解决办法。我遇到的问题与 Homebrew 有关。使用 brew uninstall go 卸载 Go 并使用 Mac 的官方安装程序安装它(可在 official download page 获得)后,我终于设法使用 micro server 和 [=12= 启动了我的微服务]