You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following the official tutorial on how to import an existing schema, but I ran into trouble because I used a more recent protobuf version.
I first installed protobuf with go get -u github.com/golang/protobuf but it threw the next warning
go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
So I decided to follow the advice of the warning and ran go get -u google.golang.org/protobuf but then the next step (go run -mod=mod ariga.io/entimport/cmd/entimport -h) threw the following error:
I was following the official tutorial on how to import an existing schema, but I ran into trouble because I used a more recent protobuf version.
I first installed protobuf with
go get -u github.com/golang/protobuf
but it threw the next warningSo I decided to follow the advice of the warning and ran
go get -u google.golang.org/protobuf
but then the next step (go run -mod=mod ariga.io/entimport/cmd/entimport -h
) threw the following error:To recreate this issue, I recommend follow the next steps:
The quick fix is to downgrade the version by simply running
go get -u github.com/golang/protobuf
but it should be attendedThe text was updated successfully, but these errors were encountered: