Skip to content

Feat/deployment#309

Open
ezedike-evan wants to merge 9 commits intoOgstevyn:mainfrom
ezedike-evan:feat/deployment
Open

Feat/deployment#309
ezedike-evan wants to merge 9 commits intoOgstevyn:mainfrom
ezedike-evan:feat/deployment

Conversation

@ezedike-evan
Copy link

Fix deployment failure by removing outdated pnpm-lock.yaml and switching to npm

Description

This PR resolves the deployment failure in Ogstevyn/payeasy caused by an outdated pnpm-lock.yaml.

Vercel detected the presence of pnpm-lock.yaml and attempted to install dependencies using pnpm with frozen-lockfile enabled (default in CI). Since the lockfile was not in sync with package.json, the build failed with:

ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json

This update removes pnpm-lock.yaml, regenerates dependencies using npm, and ensures a valid package-lock.json is committed so Vercel installs dependencies successfully.

Related Issues

Closes #306

Changes Made

  • Removed pnpm-lock.yaml
  • Removed pnpm-related artifacts (if present)
  • Regenerated dependencies using npm install
  • Committed updated package-lock.json
  • Ensured deployment configuration defaults to npm

How to Test

  1. Pull the latest changes.

  2. Run:

    npm install
    
  3. Run local build:

    npm run build
    
  4. Deploy using:

    vercel --prod
    
  5. Verify:

    • Dependencies install without lockfile errors
    • Build completes successfully
    • Deployment succeeds

@Ogstevyn
Copy link
Owner

resolve conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deployment fails due to outdated pnpm-lock.yaml

2 participants