bmad-fh 6.0.0-alpha.23.6fbcf839 → 6.0.0-alpha.23.b9802f7d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -416,7 +416,9 @@ class ModuleManager {
416
416
  if (needsDependencyInstall || wasNewClone || nodeModulesMissing) {
417
417
  const installSpinner = ora(`Installing dependencies for ${moduleInfo.name}...`).start();
418
418
  try {
419
- execSync('npm install --production --ignore-scripts --no-audit --no-fund --prefer-offline --no-progress', {
419
+ // Remove lockfile first - it may reference devDeps that don't exist
420
+ execSync('rm -f package-lock.json', { cwd: moduleCacheDir, stdio: 'pipe' });
421
+ execSync('npm install --omit=dev --ignore-scripts --no-package-lock --no-audit --no-fund --prefer-offline --no-progress', {
420
422
  cwd: moduleCacheDir,
421
423
  stdio: 'pipe',
422
424
  timeout: 120_000, // 2 minute timeout
@@ -441,7 +443,9 @@ class ModuleManager {
441
443
  if (packageJsonNewer) {
442
444
  const installSpinner = ora(`Installing dependencies for ${moduleInfo.name}...`).start();
443
445
  try {
444
- execSync('npm install --production --ignore-scripts --no-audit --no-fund --prefer-offline --no-progress', {
446
+ // Remove lockfile first - it may reference devDeps that don't exist
447
+ execSync('rm -f package-lock.json', { cwd: moduleCacheDir, stdio: 'pipe' });
448
+ execSync('npm install --omit=dev --ignore-scripts --no-package-lock --no-audit --no-fund --prefer-offline --no-progress', {
445
449
  cwd: moduleCacheDir,
446
450
  stdio: 'pipe',
447
451
  timeout: 120_000, // 2 minute timeout