klaas1979 / tablesmith-like

Use Tablesmith-like tables in FoundryVTT and create complex nested tables.
MIT License
3 stars 5 forks source link

module.json incompatible with Foundry 11.309 #24

Open IrmatDen opened 12 months ago

IrmatDen commented 12 months ago

Describe the bug On a fresh Foundry 11 install, I wanted to install this module, as my world is using it in v9 (world not yet migrated, I'm currently installing the required modules). After clicking the install button on the Tablesmith modules, it fails, and in the dev console, this can be found:

caught (in promise) Error: Unable to load valid module manifest data from "https://github.com/klaas1979/tablesmith-like/releases/download/v1.14.0/module.json" Module validation errors: authors: 0: name: may not be undefined at Module.installPackage (file:///C:/Program%20Files/FoundryVTT/Foundry%20Virtual%20Tabletop%20v11/resources/app/dist/packages/views.mjs:1:1692) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async SetupView.handlePost (file:///C:/Program%20Files/FoundryVTT/Foundry%20Virtual%20Tabletop%20v11/resources/app/dist/server/views/setup.mjs:1:2108)

I saw that you validated v11 support in #21 , but after looking how the new module.json should be setup (ref: https://foundryvtt.com/article/module-development/ under "The Module Manifest"), the authors key is now an array instead of a pure string as it was previously and I can see that the current tablesmith-like/blob/main/src/module.json uses the string format. For reference, I have never used foundry v11 until now, I'm making the jump from v9 only due to the webp security issue, so it might be something they broke with the latest patch.

Thank you for this module!