Skip to content

gorm-cli does not work on mac M1 2021 #23

Description

@salehasadi

when I try to perform any action using gorm-cli that throws this error to me
gorm-cli db:create_migration create_user

panic: Open plugin filed. (plugin.Open("./database/migration/.plugins/connection"): plugin was built with a different version of package gorm.io/gorm/clause) goroutine 1 [running]: github.com/iKala/gorm-cli/migrate.NewDB() /Users/thunder/go/pkg/mod/github.com/i!kala/gorm-cli@v0.0.0-20231019125029-0936e0e62ebc/migrate/init_db.go:11 +0x9c main.main() /Users/thunder/go/pkg/mod/github.com/i!kala/gorm-cli@v0.0.0-20231019125029-0936e0e62ebc/main.go:153 +0xa98

also tried to run the gorm-cli db init using following command but same issue happen
GOOS="darwin" GOARCH="arm64" gorm-cli db:init

go version go1.21.4 darwin/arm64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions