go: github.com/astaxie/beego@latest (in github.com/astaxie/beego@v1.12.3): The go.mod file for the module providing named packages contains one or more replace directives. It must not contain directives that would cause it to be interpreted differently than if it were the main module.
时间: 2023-06-11 14:09:01 浏览: 85
这个错误提示是因为在 `github.com/astaxie/beego` 模块的 `go.mod` 文件中包含了 `replace` 指令,而这些指令会导致该模块的解析方式与主模块不同。可以尝试更新该模块的版本或者手动修改 `go.mod` 文件,将 `replace` 指令删除或者注释掉。如果该模块是你自己开发的,可以检查一下是否有需要使用 `replace` 指令的情况,如果没有,可以将其删除或注释掉。