Open ratanakkim opened 3 years ago
I can confirm this. I've created a scene compendium and exported it (without any error). After importing I get the same error:
common.js:439 undefined | Error importing file Death House.fvttadv TypeError: Compendium.create is not a function
at Function.getCompendiumPack (common.js:170)
at adventure-import.js:499
at async Function.asyncForEach (common.js:154)
at async AdventureModuleImport._importCompendium (adventure-import.js:495)
at async AdventureModuleImport._dialogButton (adventure-import.js:158) Error
at Object.error (https://vtt.tuxdance.com/modules/adventure-import-export/src/common.js:439:53)
at AdventureModuleImport._dialogButton (https://vtt.tuxdance.com/modules/adventure-import-export/src/adventure-import.js:463:24)
Have you found anything that can be done from a user's perspective work around this issue @ratanakkim ?
For futher information: I was testing on D&D 5e with Foundry 0.8.9
Compendium.create
is deprecated. An alternative is CompendiumCollection.createCompendium
When trying to import new compendium to a game the module give this error :
When trying to import a sizeable compendium this error was given: