Skip to content

Node.js based forum software built for the modern web

fix: add lru-cache to checked packages, to fix upgrade issue with lru-cache

Julian Lam14515f600451
diff --git a/src/cli/index.js b/src/cli/index.js
index 5c3c01fd88..86bfc127b4 100644
--- a/src/cli/index.js
+++ b/src/cli/index.js
@@ -41,6 +41,7 @@ try {
checkVersion('commander');
checkVersion('chalk');
checkVersion('lodash');
+ checkVersion('lru-cache');
} catch (e) {
if (['ENOENT', 'DEP_WRONG_VERSION', 'MODULE_NOT_FOUND'].includes(e.code)) {
console.warn('Dependencies outdated or not yet installed.');