#Dagger v0.9.0 error

1 messages · Page 1 of 1 (latest)

heady lynx
#

don't you need a sub command first?

grizzled hare
#

the error is unrelated to zenith, seeing if I can repro

heady lynx
#

It worked for me and I didn't know this exists

dagger -m github.com/shykes/daggerverse/helloWorld functions
✔ build "dagger functions" [1.60s]
├ [1.47s] loading module
├ [0.12s] loading objects
┃ object name   function name   description                 return type
┃ *HelloWorld   Greeting                                    String!
┃ *HelloWorld   Name                                        String!
┃ *HelloWorld   WithGreeting    Change the greeting         HelloWorld!
┃ *HelloWorld   WithName        Change the name             HelloWorld!
┃ *HelloWorld   Message         Say hello to the world!     String!
┃ *HelloWorld   Shout           SHOUT HELLO TO THE WORLD!   String!
• Engine: 59d101e3c744 (version v0.9.0)
⧗ 2.75s ✔ 37 ∅ 7
grizzled hare
#

Doesn't repro for me on Linux; in order to try on macos I need to update Xcode first or homebrew refuses to run 🙃

#

Doesn't repro for me on macos either:

sipsma@Eriks-MacBook-Pro-2 ~ % dagger version
dagger v0.9.0 (registry.dagger.io/engine) darwin/arm64
sipsma@Eriks-MacBook-Pro-2 ~ % dagger -m github.com/shykes/daggerverse/helloWorld functions
✔ build "dagger functions" [13.59s]
├ [13.45s] loading module
├ [0.14s] loading objects
┃ object name   function name   description                 return type
┃ *HelloWorld   Greeting                                    String!
┃ *HelloWorld   Name                                        String!
┃ *HelloWorld   WithGreeting    Change the greeting         HelloWorld!
┃ *HelloWorld   WithName        Change the name             HelloWorld!
┃ *HelloWorld   Message         Say hello to the world!     String!
┃ *HelloWorld   Shout           SHOUT HELLO TO THE WORLD!   String!
• Engine: 78ceb899e490 (version v0.9.0)
⧗ 14.73s ✔ 76
#

@torn shard worth double checking you don't have _EXPERIMENTAL_DAGGER_* envs set or anything. After that might be worth just stopping any existing dagger engines in docker desktop, doing a docker image prune -a and trying again 🤷‍♂️ You shouldn't need to do that of course, but worth seeing if it fixes

torn shard
#

thank you

#

the main question is: how did it work before?

#

😛

grizzled hare
torn shard
#

Oh right, that's probably what that is then