Custom Module does not work in Forge, empty compendiums

Hello, i have a small custom module containing a homebrew class for the pf2e system. It works perfectly fine on every non-forge install of Foundry i’ve tested it on. My friend even got it working on an older version of pf2e and foundry than the one I’m using. The import wizard claims that it has successfully imported the module, and it has all of the appropriate compendiums that it should, however all of those compendiums but one are completely empty. I’ve messed with the module.json file so that there’s no nesting since apparently the import wizard doesn’t like that and it still didn’t do anything. When i export the module after it’s been imported it’s now magically smaller than it was going in which tells me that the import wizard is scrubbing 99% of the module content for reasons this lowly non-wizard cannot possibly fathom. If anyone can help with explaining why this is happening, and more importantly, how to make it stop, that would be greatly appreciated.

Hey fennrys,

We would have to take a look at your module itself to be able to say if it’s not structured properly.
You can send us an email at [email protected] with the module attached or linked if its on git, we’ll see what’s happening with it from there.