#Error while starting dagger function from git repo

1 messages · Page 1 of 1 (latest)

rain needle
#

Hi all, I've been trying the quickstart guide and starting a function from the daggerverse but unfortunately it seems that something is off with my git.

➜ dagger -m github.com/shykes/daggerverse/hello@v0.1.2 call hello
✘ initialize 5.0s
✘ moduleSource(refString: "github.com/shykes/daggerverse/hello@v0.1.2"): ModuleSource! 5.0s
Error: failed to get configured module: failed to get module ref kind: input: moduleSource resolve: get git tags: failed to run git: exit status 128

I haven't found any posts handling this error so far. Do you have any idea what might be the problem. Is it possible to activate debug logs? --debug switch didn't give much more information.
Also tried a dagger login but it did not help.

Git version: git version 2.41.0
Dagger version: 0.10.2

Thank you very much 🙏
Mark

kind ivy
#

I don’t have my computer in front of me but can you try ‘@main’. I think the docs are outdated and that tag doesn’t exist…

hoary flare
#

Hi @rain needle and @kind ivy I just tried the command from the docs and it works for me

dagger -m github.com/shykes/daggerverse/hello@v0.1.2 call hello
hello, world!
#

Can you share some more info about your OS, Docker version etc? Do the other dagger call commands in the quickstart work?