bynk.deploy.asset_path_conflict
Error Two members of one [deploy.workers.<key>] group serve a fixed asset path (at "/…") from different files, or one that would be a folder of the other; a group has one assets directory, so each fixed path names one file.
A [deploy.workers.<key>] group folds its members into one Worker, and a Worker has one assets directory. So a fixed asset path (at "/…") names one file across the whole group: two members serving different files at one path would leave the Worker unable to say which to send. A path that would be a folder of another member's file is refused for the same reason. Give one of the assets another path, or put the contexts in different groups.
Example
[deploy.workers.core]contexts = ["shop.orders", "shop.billing"]
// shop/orders.bynkasset terms = "assets/orders-terms.txt" at "/terms.txt"
// shop/billing.bynkasset terms = "assets/billing-terms.txt" at "/terms.txt" // ✗ `shop.orders` serves `/terms.txt`asset terms = "assets/billing-terms.txt" at "/billing/terms.txt" // ✓In the Book
See also
- Every code in its category, Deployment, on the diagnostic index.
bynk explain bynk.deploy.asset_path_conflictshows the same from the installed toolchain, without a network.