The CI is failing with: ERR_PNPM_OUTDATED_LOCKFILE - Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date
This is because react-icons@^5.5.0 was added to package.json but the lockfile wasn't updated.
If you have a vim or text editor open in the terminal:
- Press
ESCkey - Type
:q!(colon, q, exclamation mark) - Press
ENTER
Or simply close the terminal window and open a new one.
cd C:\Users\Dell\Documents\stellar-app-os# Abort any pending merge
git merge --abort
# Reset to clean state
git reset --hard HEAD
# Pull latest changes (use --no-edit to avoid editor)
git pull origin feat/issue-56-comparison-tool --no-edit# Install pnpm if not already installed
npm install -g pnpm
# Update the lockfile
pnpm installThis will:
- Read package.json
- Install react-icons and all dependencies
- Update pnpm-lock.yaml with the correct versions
# Stage the lockfile
git add pnpm-lock.yaml
# Commit the change
git commit -m "chore: update pnpm lockfile for react-icons dependency"
# Push to remote
git push origin feat/issue-56-comparison-tool- Go to GitHub Actions: https://github.com/utilityjnr/stellar-app-os/actions
- Find the latest workflow run for your branch
- Wait for it to complete
- Should see ✅ green checkmarks
Run the automated script:
.\fix-ci-lockfile.ps1Create the PR:
- Go to: https://github.com/utilityjnr/stellar-app-os/pull/new/feat/issue-56-comparison-tool
- Copy content from
PR_COMPARISON_TOOL.md - Submit PR
# Clear pnpm cache
pnpm store prune
# Try again
pnpm install# Check status
git status
# If behind remote, pull first
git pull origin feat/issue-56-comparison-tool --rebase
# Then push
git push origin feat/issue-56-comparison-tool# Start fresh in new terminal
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"
git push origin feat/issue-56-comparison-toolAfter following these steps:
- ✅ pnpm-lock.yaml will be updated
- ✅ CI will pass
- ✅ PR will be ready for review
- ✅ Feature can be merged
Check these files:
FIX_CI.md- Detailed explanationfix-ci-lockfile.ps1- Automated scriptCREATE_PR_INSTRUCTIONS.md- PR creation guide