【问题标题】:module github.com/astaxie/beego@latest found (v1.12.3), but does not contain package github.com/astaxie/beego/client/orm找到模块 github.com/ataxie/beego@latest (v1.12.3),但不包含包 github.com/ataxie/beego/client/orm
【发布时间】:2020-11-06 04:03:08
【问题描述】:

当我尝试执行bee migrate 时遇到此错误,有人遇到同样的错误吗?如何处理?谢谢

2020/11/06 03:54:37 INFO     ▶ 0001 Getting bee latest version...
2020/11/06 03:54:37 WARN     ▶ 0002 Update available 2.0.0 ==> 1.12.0
2020/11/06 03:54:37 WARN     ▶ 0003 Run `bee update` to update
2020/11/06 03:54:37 INFO     ▶ 0004 Your bee are up to date
______
| ___ \
| |_/ /  ___   ___
| ___ \ / _ \ / _ \
| |_/ /|  __/|  __/
\____/  \___| \___| v2.0.0
2020/11/06 03:54:37 INFO     ▶ 0005 Using 'postgres' as 'driver'
2020/11/06 03:54:37 INFO     ▶ 0006 Using '/go/src/chatcommerce-api/database/migrations' as 'dir'
2020/11/06 03:54:37 INFO     ▶ 0007 Running all outstanding migrations
2020/11/06 03:54:37 INFO     ▶ 0008 Creating 'migrations' table...
2020/11/06 03:54:38 ERROR    ▶ 0009 Could not build migration binary: exit status 1
2020/11/06 03:54:38 ERROR    ▶ 0010 |> go: finding module for package github.com/astaxie/beego/client/orm
2020/11/06 03:54:38 ERROR    ▶ 0011 |> go: finding module for package github.com/astaxie/beego/client/orm/migration
2020/11/06 03:54:38 ERROR    ▶ 0012 |> m.go:6:2: module github.com/astaxie/beego@latest found (v1.12.3), but does not contain package github.com/astaxie/beego/client/orm
2020/11/06 03:54:38 ERROR    ▶ 0013 |> m.go:7:2: module github.com/astaxie/beego@latest found (v1.12.3), but does not contain package github.com/astaxie/beego/client/orm/migration
2020/11/06 03:54:38 WARN     ▶ 0014 Could not remove temporary file: remove m: no such file or directory

【问题讨论】:

    标签: beego


    【解决方案1】:

    https://github.com/astaxie/beego/issues/4308

    去获取 -u github.com/ataxie/beego@develop 去获取github.com/beego/bee@v1.12.3

    【讨论】:

    • 这里没有问题
    猜你喜欢
    • 1970-01-01
    • 2017-03-11
    • 2020-11-08
    • 2022-07-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-12-18
    • 1970-01-01
    相关资源
    最近更新 更多