Skip to content

Error with ghx module #201

@jaxxstorm

Description

@jaxxstorm
dagger -m github.com/aweris/gale/ghx -m github.com/aweris/gale call --repo aweris/gale --branch main --workflows-dir examples/workflows list
Setup tracing at https://dagger.cloud/traces/setup. To hide: export NOTHANKS=1

✔ connect 1.3s
✘ initialize 1.2s
! input: moduleSource.asModule resolve: failed to create module: select: failed to update module dependencies: failed to initialize dependency modules: failed to initialize dependency module: select: failed to initialize module: failed to call module "ghx" to get functions: call constructor: process "go build -o /runtime ." did not complete successfully: exit code: 1
  ✔ resolving module ref 0.8s
  ✘ installing module 0.4s
  ! input: moduleSource.asModule resolve: failed to create module: select: failed to update module dependencies: failed to initialize dependency modules: failed to initialize dependency module: select: failed to initialize module: failed to call module "ghx" to get functions: call constructor: process "go build -o /runtime ." did not complete successfully: exit code: 1
    ✘ ModuleSource.asModule: Module! 0.4s
    ! failed to create module: select: failed to update module dependencies: failed to initialize dependency modules: failed to initialize dependency module: select: failed to initialize module: failed to call module "ghx" to get functions: call constructor: process "go build -o /runtime ." did not complete successfully: exit code: 1

Error: input: moduleSource.asModule resolve: failed to create module: select: failed to update module dependencies: failed to initialize dependency modules: failed to initialize dependency module: select: failed to initialize module: failed to call module "ghx" to get functions: call constructor: process "go build -o /runtime ." did not complete successfully: exit code: 1

Stderr:
# github.com/aweris/gale/ghx
./source.go:13:13: dag.Host undefined (type *dagger.Client has no field or method Host)
./source.go:13:38: undefined: HostDirectoryOpts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions