I built some packages - Inventory, PurchaseOrder, Core
daml/1.1.1/develop/PurchaseOrder/daml.yaml
data-dependencies:
- …/Inventory/.daml/dist/tydei-dev-inventory-1.1.1.dar
daml/1.1.1/develop/Core/daml.yaml
data-dependencies:
- …/Inventory/.daml/dist/tydei-dev-inventory-1.1.1.dar
- …/PurchaseOrder/.daml/dist/tydei-dev-purchaseorder-1.1.1.dar
And, I built and codegen them
DAML_PROJECT=${root_dir}/daml/${daml_version}/develop/Inventory daml build
DAML_PROJECT=${root_dir}/daml/${daml_version}/develop/Inventory daml codegen js -o ${root_dir}/daml2js ${root_dir}/daml/${daml_version}/develop/Inventory/.daml/dist/tydei-dev-inventory-${daml_version}.dar…
ui-js/package.json
"@daml2js/tydei-dev-core": "file:../daml2js/tydei-dev-core-1.1.1",
"@daml2js/tydei-dev-purchaseorder": "file:../daml2js/tydei-dev-purchaseorder-1.1.1",
"@daml2js/tydei-dev-inventory": "file:../daml2js/tydei-dev-inventory-1.1.1",
While running the UI, I faced an error.
Trying to re-register template 8bb05de52b51d99fc4ad44f6cdf3b5dc26b3f1683cdf59dfbdc58daca5d21a09:Inventory.Main.Inventory:InventoryLocation.
Who can help me to fix it?
