01/25/2023, 5:39 PM
I'm trying to build lakeFS locally and getting an error in
. I've logged an issue
- LMK if I can add any more details to help 🙂
01/25/2023, 5:44 PM
! Thanks for reporting this issue. Do you mind adding some information on your local tech stack environment to the issue? (e.g Operating System, go version, npm version, etc)
01/25/2023, 5:45 PM
01/25/2023, 5:47 PM
thank you… I’m trying to reproduce myself right now, will keep you posted
well, locally I couldn’t reproduce (
passes). I am running earlier versions of OS, Go, Maven and NPM compared to you, I’m not sure it’s the problem though (as you managed to run the tests separately)
I wonder, is this consistent? every run of
fails on the same test?
01/25/2023, 5:57 PM
yes, I've run it 4-5 times each
01/25/2023, 6:03 PM
ok, managed to reproduce. now I’ll try to fix it 🙂
for some reason, running the make clean before the build and test fails the tests
if I just run make build and make test afterwards, it works
can you check?
01/25/2023, 10:44 PM
Probably because make test doesn't trigger gen step. The go compiler tries to download a package which is missing, because it is part of the generated files.
It works in the CI because we made a shortcut there to skip the UI build and just test the Go code. But running it locally without the shortcut will fail.
can fix it tomorrow