Hi all,
I've been trying the Quickstart guide (Call your first function page), but I keep getting an error which I can't understand enough to fix by myself. I've also searched here and online but failed to find a post that could help me.
Please help me get across this first hurdle!
Calling the simple "hello" function, I'd expect "Hello, World!" back, but I the trace below.
❯ dagger -m github.com/shykes/daggerverse/hello@v0.1.2 call hello
✘ initialize 1.3s
✔ moduleSource(refString: "github.com/shykes/daggerverse/hello@v0.1.2"): ModuleSource! 0.6s
✔ git://github.com/shykes/daggerverse#hello/v0.1.2 0.3s
┃ 3d608cb5e6b4b18036a471400bc4e6c753f229d7 refs/tags/hello/v0.1.2
✘ ModuleSource.asModule: Module! 0.7s
✘ Module.withSource(
source: ✔ moduleSource(refString: "github.com/shykes/daggerverse/hello@v0.1.2"): ModuleSource! 0.6s
): Module! 0.7s
✘ Container.directory(path: "/src"): Directory! 0.4s
✘ exec /usr/local/bin/codegen --module-context /src --module-name hello --propagate-logs=true --introspection-json-path /schema.json 0.4s
┃ runc run failed: unable to start container process: can't copy bootstrap data to pipe: write init-p: broken pipe
Error: input: moduleSource.asModule failed to create module: failed to update codegen and runtime: failed to generate code: failed to get modified source directory for go module sdk codegen: process "/usr/local/bin/codegen --module-context /src --module-name hello --propagate-logs=true --introspection-json-path /schema.json" did not complete successfully: exit code: 1
OS: MacOS Sonoma 14.2.1 (23C71) M1 (ARM)
Dagger: dagger v0.10.0 (registry.dagger.io/engine) darwin/arm64
Go: go version go1.22.0 darwin/arm64
have a nice weekend u2