Closed jankohlbach closed 3 years ago
Got the same problem. How did you manage to fix it?
OS: centOS7 go1.16
hey, sorry yeah I could fix it and actually want to do a tutorial on how to set up all of this because it was just a nightmare with that less documentation 😅
so there are two problems:
/root/go/pkg/mod/github.com/gobuffalo/uuid@v2.0.5+incompatible/generator.go:32:13 /root/go/pkg/mod/github.com/gobuffalo/uuid@v2.0.5+incompatible/uuid.go:41:7
and just comment the mentioned lines with v2 (32 and 41), don't know if it's important to keep, but without the two lines, it worked 🤷🏼♂️
storage/dial.go:71:36
here you need to change line 71 from:
cols := columns.ForStructWithAlias(model, sm.TableName(), sm.As)
to:
cols := columns.ForStructWithAlias(model, sm.TableName(), sm.As, sm.IDField())
how I found this: https://github.com/gobuffalo/pop/commit/c81c996fa04ca0c2f44b56ea5b7155991d6237ca
really hope this helps, guess there are not enoug people trying to set this up ... 😅
apparently they have fixed it, not happened again for me for a new setup
- Do you want to request a feature or report a bug? a bug
- What is the current behavior? make build throws an error (Error 2)
exact output after make build:
maybe cause of that: https://github.com/gobuffalo/pop/commit/c81c996fa04ca0c2f44b56ea5b7155991d6237ca
- If the current behavior is a bug, please provide the steps to reproduce.
- What is the expected behavior? successful build
- Please mention your Go version, and operating system version. ubuntu 20.04 go1.15.7
could need more instruction on how to set it up