bmad-fh 6.0.0-alpha.23.96db56c9 → 6.0.0-alpha.23.bed978b2

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,6 +416,8 @@ class ModuleManager {
416
416
  if (needsDependencyInstall || wasNewClone || nodeModulesMissing) {
417
417
  const installSpinner = ora(`Installing dependencies for ${moduleInfo.name}...`).start();
418
418
  try {
419
+ // Remove lockfile first - it may reference devDeps that don't exist
420
+ execSync('rm -f package-lock.json', { cwd: moduleCacheDir, stdio: 'pipe' });
419
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',
@@ -441,6 +443,8 @@ class ModuleManager {
441
443
  if (packageJsonNewer) {
442
444
  const installSpinner = ora(`Installing dependencies for ${moduleInfo.name}...`).start();
443
445
  try {
446
+ // Remove lockfile first - it may reference devDeps that don't exist
447
+ execSync('rm -f package-lock.json', { cwd: moduleCacheDir, stdio: 'pipe' });
444
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',