Skip to content

Node.js based forum software built for the modern web

fix: check xmldom dependency since it's required in file.js

Barış Soner Uşaklı44217a0750b8
diff --git a/src/cli/index.js b/src/cli/index.js
index 8e3db4e344..1c12024f9a 100644
--- a/src/cli/index.js
+++ b/src/cli/index.js
@@ -49,6 +49,7 @@ try {
checkVersion('chalk');
checkVersion('lodash');
checkVersion('lru-cache');
+ checkVersion('@xmldom/xmldom');
} catch (e) {
if (['ENOENT', 'DEP_WRONG_VERSION', 'MODULE_NOT_FOUND'].includes(e.code)) {
console.warn(`Dependencies outdated or not yet installed. Error Code: ${e.code}\n${e.stack}`);