#Need help with error while developing CLI
1 messages · Page 1 of 1 (latest)
If I run it again, one error disappears (compat check) but the other stays (cannot query field):
$ ./dagger call -m github.com/shykes/daggerverse/hello message
✘ load call ERROR [17.36s]
├ [17.21s] loading module
├ [0.15s] loading objects
┃ Error: query module objects: input:8: Cannot query field "constructor" on type "ObjectTypeDef".
✘ checkVersionCompatibility(version: "0.9.3") ERROR [0.00s]
• Cloud URL: https://dagger.cloud/runs/08d9582f-045d-4696-a683-22b34cf40ece
• Engine: a722567dc2db (version main)
⧗ 27.65s ✔ 71 ✘ 2
The same call with stable dagger 0.9.4:
$ dagger call -m github.com/shykes/daggerverse/hello message
✔ dagger call message [3.21s]
┃ Hello, World!
• Cloud URL: https://dagger.cloud/runs/64dac1c8-786d-4eca-b72d-d4a7c0000794
• Engine: 7d937402ca0e (version v0.9.4)
⧗ 23.39s ✔ 45 ∅ 2
If I re-run with the dev build, immediately after running with the stable build, the compat check error re-appears:
$ ./dagger call -m github.com/shykes/daggerverse/hello message
✘ load call ERROR [18.06s]
├ [17.91s] loading module
├ [0.15s] loading objects
┃ Error: query module objects: input:8: Cannot query field "constructor" on type "ObjectTypeDef".
✘ checkVersionCompatibility(version: "0.9.3") ERROR [0.00s]
• Cloud URL: https://dagger.cloud/runs/a4ba3929-a762-4351-839e-7ea23a8552fc
• Engine: 90888324fc2c (version main)
⧗ 25.36s ✔ 71 ✘ 2
@stray sundial @fresh ridge does this ring a bell?
I ran ./hack/dev
I'll re-run it from scratch just in case
Argh, I didn't have the magical env variables setup...
I really really need to daggerize ./hack/dev