- Issue:
ERR_PNPM_OUTDATED_LOCKFILE- pnpm-lock.yaml is out of sync - Root Cause:
react-icons@^5.5.0was added to package.json but lockfile wasn't updated - Impact: CI failing, blocking PR merge
- Blocking Factor: Vim editor session preventing terminal commands
# Double-click or run:
fix-lockfile.batThis will:
- Kill blocking processes
- Clean git state
- Update lockfile
- Commit and push
- Close current terminal completely
- Open NEW PowerShell window
- Run these commands:
cd C:\Users\Dell\Documents\stellar-app-os
git checkout feat/issue-56-comparison-tool
git reset --hard origin/feat/issue-56-comparison-tool
pnpm install
git add pnpm-lock.yaml
git commit -m "chore: update pnpm lockfile for react-icons"
git push origin feat/issue-56-comparison-tool# Run the automated script:
.\fix-ci-lockfile.ps1# Force clean state
git checkout .
git clean -fd
git reset --hard origin/feat/issue-56-comparison-tool
pnpm install
git add pnpm-lock.yaml
git commit -m "chore: update pnpm lockfile"
git push origin feat/issue-56-comparison-tool- Resolves git merge conflict (vim editor blocking)
- Updates pnpm-lock.yaml with react-icons dependency
- Commits the lockfile change
- Pushes to remote branch
- Triggers CI rebuild (should pass)
After running any method:
- ✅ pnpm-lock.yaml updated with react-icons@^5.5.0
- ✅ Git state clean
- ✅ Changes pushed to GitHub
- ✅ CI rebuild triggered
- ✅ All CI checks pass (build, lint, type-check)
- Check CI Status: https://github.com/utilityjnr/stellar-app-os/actions
- Look for green checkmarks ✅
- Verify lockfile updated in GitHub
Link: https://github.com/utilityjnr/stellar-app-os/pull/new/feat/issue-56-comparison-tool
Title: feat: Carbon Credit Comparison Tool (Issue #56)
Description: Copy from PR_COMPARISON_TOOL.md
npm install -g pnpmgit pull origin feat/issue-56-comparison-tool --rebase
git push origin feat/issue-56-comparison-tool- Restart computer (nuclear option)
- Use Method 2 (new terminal)
- Use fix-lockfile.bat (bypasses terminal)
react-icons:
specifier: ^5.5.0
version: 5.5.0- CI uses
pnpm install --frozen-lockfile - This requires lockfile to match package.json exactly
- Adding react-icons entry resolves the mismatch
pnpm-lock.yaml(updated with react-icons)- No other files affected
- Always update lockfile when adding dependencies
- Use
pnpm installnotpnpm addfor existing deps - Commit lockfile changes immediately
- Test CI locally with
pnpm install --frozen-lockfile
- ✅ CI passes (green checkmarks)
- ✅ Build completes successfully
- ✅ Lint passes
- ✅ Type check passes
- ✅ PR ready for review
Fastest solution: Double-click fix-lockfile.bat and wait 30 seconds.
Most reliable: Open new terminal, run Method 2 commands.
Most automated: Run .\fix-ci-lockfile.ps1
All methods achieve the same result - a working CI build! 🎉