BMAD-METHOD/tools/cli/installers
Diego Szychowski bb2f311a5e fix: retrieve installed modules during manifest processing for compiling agents
The problem was that the installedModules variable was being used at line 1987 but was never defined in the compileAgents method's scope.

Issue: When compiling agents the compilation failed.
Installation failed: installedModules is not defined
ReferenceError: installedModules is not defined at Installer.compileAgents (BMAD-METHOD/tools/cli/installers/lib/core/installer.js:1987:30) at async Command.action (BMAD-METHOD/tools/cli/commands/install.js:26:24)

The fix:

- Added the declaration let installedModules = []; at line 1968
- Added code to populate installedModules by reading the bmad directory and filtering for module directories (lines 1975-1979)
- This follows the same pattern used in other methods like  generateManifests (line 1237) and update (line 2050)
2025-12-07 19:54:19 -03:00
..
lib fix: retrieve installed modules during manifest processing for compiling agents 2025-12-07 19:54:19 -03:00