Closed vvfrwl closed 11 months ago
Hi, I was struggling with the same issue until I ran into this part of the documentation in anvil runtime repository regarding app dependencies. Following the tutorial, I managed to get the anvil extras routing module working in a local app. However, I still can't quite figure out how to use anvil-extras components (such as progress bar or autocomplete textbox) in local apps as they are always shown as "Dependency missing: No such form" objects.
@MichalH1521 Oh. I read that document. I thought the dependency record that came from anwil.work is ok:
anvil.yaml:
dependencies:
- dep_id: dep_l0b2zqe9lz2s8mu
version: {dev: false}
resolution_hints: {app_id: <app_id>, name: AnvilExtras, package_name: anvil_extras}
it should be:
dependencies:
- app_id: <app_id>
version: {dev: false}
In meaning it looks the same (like new syntax), but not.
Thank you. I was going to downgrade Java :)
Dear Sirs Is it possible to add anvil-extras to App Server as dependencies? Is it bug or App Server limitation or I'm doing wrong? Applications work fine with anvil-extras on anvil.works, but not on local Anvil App Server.
Anvil App Server - 1.8.0 (pip3 installation, not docker) openjdk 17.0.8 2023-07-18 : OpenJDK Runtime Environment (build 17.0.8+7-Debian-1deb12u1)
Empty APP from anvil.works (runtime "python3-full") with third-party dependency C6ZZPAPN4YYF5NVJ - does not work. Empty APP from anvil.works (runtime "python3-full") + cloned to local anvil-extras as dependency - does not work.
anvil-extras installation
Browser message when trying to server access:
JSON object keys must be strings
Server output:
Thank you Best regards Vadim