diff --git a/tools/cli/installers/lib/modules/manager.js b/tools/cli/installers/lib/modules/manager.js index 79fd183d..31fc2fd2 100644 --- a/tools/cli/installers/lib/modules/manager.js +++ b/tools/cli/installers/lib/modules/manager.js @@ -300,6 +300,15 @@ class ModuleManager { * @returns {string|null} Path to the module source or null if not found */ async findModuleSource(moduleName) { + // Special handling for core module - it's in src/core not src/modules + if (moduleName === 'core') { + const corePath = getSourcePath('core'); + if (await fs.pathExists(corePath)) { + return corePath; + } + return null; + } + const projectRoot = getProjectRoot(); // First, check src/modules