Dear Friends:
On application launch, I’m receiving this error:
- App dependency not found
From a similar forum post, I found this resource.
I may know what led to this issue, and hopefully the community can confirm (or refute) it.
So I have App_A and DataFor_App_A (two Apps), where the latter App stores Data Tables and functions that the former App uses.
I paused development of App_A (several days ago), so that I could flesh-out DataFor_App_A, on which it depends. But when I returned to App_A today, I received the above error, despite leaving it in a working state.
I believe the problem stems from the fact that DataFor_App_A is actually a clone of a predecessor (now deleted), and I need to manually update the dependency that App_A is referencing (which I haven’t done).
-
Does this scenario make sense? (Just so I better understand).
-
In App_A, I think I need to update app_id in this anvil.yaml stanza to reflect the clone’s app_id:
dependencies:
- app_id: XXXXXXXXXXXXXXXX
version: {dev: true}
- If everything written so far is correct, (a) Where do I formally find the app_id for the new DataFor_App_A (I suspect it’s embedded as the 16-character alphanum in the URL); and (b) Via the IDE, where can one update the YAML dependency in App_A? (For example, if they were strictly using the IDE).
Via the CLI, I think the basic steps are:
git pull
vi(1) ./anvil.yaml # Update value for app_id.
git push
But before doing anything, is the above scenario feasible? I want to consult the community before doing anything. Thank you.
(Sorry for the long question).