empty pack
So I'm trying to access a pack in my module and it does exist but it's empty.
My thoughts are
1. The file contents are invalid. But I've copied contents from another module and it's still empty.
2. My editor is changing the file in some way that makes it invalid. But I can't find a validator for levelDB files.
Something else I can try?
here's my pack file
https://github.com/chrisjbrown/my-names-jeff/blob/master/src/packs/person-names.db
GitHub
my-names-jeff/src/packs/person-names.db at master · chrisjbrown/my-...
Contribute to chrisjbrown/my-names-jeff development by creating an account on GitHub.
2 Replies
Try removing the
src
from the path of the mack in module .json. Also, if you aren't targeting v10, you should probably use the cli to pack the db as part of your build using the cli.
https://foundryvtt.com/article/v11-leveldb-packs/oh i didn't realize there was a cli