anvil-works / anvil-runtime

The runtime engine for hosting Anvil web apps
https://anvil.works/open-source
Other
874 stars 116 forks source link

Cannot depend on dependency before other checks #74

Open haimat opened 7 months ago

haimat commented 7 months ago

Our project uses the anvil_extras dependency, specified in the Anvil app configuration (with ID C6ZZPAPN4YYF5NVJ). Thus to run the app locally I have checked out that dep from GitHub into the local "Anvil_Extras" folder next to the main app folder. In the app server config file I then have added this:

dep-id:
  "C6ZZPAPN4YYF5NVJ": "Anvil_Extras"

However, when I now try to access the app in the browser I get this error:

image

And in the output of the app server in the console I get this:

[WARN anvil.runtime.app-data] Cannot depend on dependency before other checksAnvil_SkiCheckdep_j32k8bkrt682sb{:branch "published", :fallback-branch "master"}

Any ideas what I might be missing here?

theterrificm commented 5 months ago

Hello @haimat , I've had the exactly same issue, but luckily I've found the solution that too with the help of anvil docs.

Try to update the dependency reference using this method [Click Here] and let me know if it works then or not.

Also, make sure that you've got successfully cloned the Anvil_Extras dependency right next to your main app.

It would work for sure.

Thanks