Cannot depend on dependency before other checks

What I’m trying to do:
Trying to run anvil app self hosted but keep hitting this dependency error related to anvil-extras dependency.
Cannot depend on dependency before other checks MainApp dep_x35wcea3jtrnp
I’m also getting the same error for the anvil augment dependency, but not sure how to import that one.

The dependencies block of my anvil.yml looks like:

dependencies:
  - dep_id: dep_x35wcea3jtrnp
    version: {dev: false}
    resolution_hints: {app_id: C6ZZPAPN4YYF5NVJ, name: Anvil Extras, package_name: anvil_extras}
  - dep_id: dep_7otys3ksustdk
    version: {dev: false}
    resolution_hints: {app_id: 223FMU5UYH5T2XSA, name: AnvilAugment, package_name: AnvilAugment}

What I’ve tried and what’s not working:
Have cloned the anvil-extras repo (GitHub - anvilistas/anvil-extras at v2.6.2) and launched the app using the --dep-id dep_x35wcea3jtrnp=anvil-extras
Have tried using both app_id and the dep_id.
Have also tried providing absolute and relative paths to the directory.
Additionally tried cloning anvil-extras into anvil_extras to match the package name in the anvil.yaml.

Saw these posts (A,B), but still unable to solve the problem, any help appreciated

1 Like