Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.28 KB

File metadata and controls

53 lines (36 loc) · 1.28 KB

Fix CI Build - pnpm Lockfile Out of Sync

Problem

The CI is failing because pnpm-lock.yaml is out of sync with package.json. The package.json has react-icons@^5.5.0 but the lockfile doesn't include it.

Solution

Run these commands to update the lockfile:

# First, close any open vim/editor windows
# Press ESC then type :q! and press ENTER

# Then update the lockfile
pnpm install

# Commit the updated lockfile
git add pnpm-lock.yaml
git commit -m "chore: update pnpm lockfile for react-icons dependency"

# Push the changes
git push origin feat/issue-56-comparison-tool

Alternative: If pnpm is not installed

# Install pnpm globally
npm install -g pnpm

# Then follow the steps above
pnpm install
git add pnpm-lock.yaml
git commit -m "chore: update pnpm lockfile for react-icons dependency"
git push origin feat/issue-56-comparison-tool

What This Does

  • pnpm install will read package.json and update pnpm-lock.yaml to include all dependencies including react-icons
  • This will fix the CI error: "ERR_PNPM_OUTDATED_LOCKFILE"
  • The CI will then pass and the PR can be merged

After Fixing

The CI checks should pass and you'll see:

  • ✅ Build successful
  • ✅ Lint passed
  • ✅ Type check passed

Then the PR will be ready for review and merge!