FIx compendiums
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
diff --git a/node_modules/@foundryvtt/foundryvtt-cli/lib/package.mjs b/node_modules/@foundryvtt/foundryvtt-cli/lib/package.mjs
|
||||
index fe64397..74427bc 100644
|
||||
--- a/node_modules/@foundryvtt/foundryvtt-cli/lib/package.mjs
|
||||
+++ b/node_modules/@foundryvtt/foundryvtt-cli/lib/package.mjs
|
||||
@@ -341,6 +341,7 @@ async function compileClassicLevel(pack, files, { log, transformEntry }={}) {
|
||||
|
||||
// Load the directory as a ClassicLevel DB.
|
||||
const db = new ClassicLevel(pack, { keyEncoding: "utf8", valueEncoding: "json" });
|
||||
+ await db.open(); // explicit open to avoid deferred-iterator crash on Node 24+
|
||||
const batch = db.batch();
|
||||
const seenKeys = new Set();
|
||||
|
||||
Reference in New Issue
Block a user