модуль github.com/astaxie/beego@latest найден (v1.12.3), но не содержит пакета github.com/astaxie/beego/client/orm

Я получаю эту ошибку, когда пытаюсь выполнить 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

person Dhimas Anugrah    schedule 06.11.2020    source источник


Ответы (1)


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

перейти get -u github.com/astaxie/beego@develop перейти получить github.com/beego/[email protected]

person franksun    schedule 17.11.2020
comment
Я не вижу здесь вопроса - person thewhiteambit; 17.11.2020