mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 20:41:17 +01:00
fix: add lru-cache to checked packages, to fix upgrade issue with lru-cache
This commit is contained in:
@@ -41,6 +41,7 @@ try {
|
|||||||
checkVersion('commander');
|
checkVersion('commander');
|
||||||
checkVersion('chalk');
|
checkVersion('chalk');
|
||||||
checkVersion('lodash');
|
checkVersion('lodash');
|
||||||
|
checkVersion('lru-cache');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (['ENOENT', 'DEP_WRONG_VERSION', 'MODULE_NOT_FOUND'].includes(e.code)) {
|
if (['ENOENT', 'DEP_WRONG_VERSION', 'MODULE_NOT_FOUND'].includes(e.code)) {
|
||||||
console.warn('Dependencies outdated or not yet installed.');
|
console.warn('Dependencies outdated or not yet installed.');
|
||||||
|
|||||||
Reference in New Issue
Block a user