Skip to content

Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json when Deplongying on Vercel #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
doodleempiress opened this issue Feb 8, 2025 · 4 comments

Comments

@doodleempiress
Copy link

[14:47:33.279] Running build in Washington, D.C., USA (East) – iad1
[14:47:33.427] Cloning github.com/doodleempiress/suno-api1 (Branch: main, Commit: 6bff533)
[14:47:33.973] Previous build cache not available
[14:47:35.915] Cloning completed: 2.488s
[14:47:36.406] Running "vercel build"
[14:47:38.113] Vercel CLI 40.1.0
[14:47:38.620] Detected pnpm-lock.yaml version 6 generated by [email protected]
[14:47:38.642] Installing dependencies...
[14:47:39.330]  ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
[14:47:39.331]
[14:47:39.331] Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"
[14:47:39.331]
[14:47:39.332] Failure reason:
[14:47:39.332] specifiers in the lockfile ({"@vercel/analytics":"^1.2.2","axios":"^1.6.8","axios-cookiejar-support":"^5.0.0","next":"14.1.4","next-swagger-doc":"^0.4.0","pino":"^8.19.0","pino-pretty":"^11.0.0","react":"^18","react-dom":"^18","react-markdown":"^9.0.1","swagger-ui-react":"^5.12.3","tough-cookie":"^4.1.4","user-agents":"^1.1.156","@tailwindcss/typography":"^0.5.12","@types/node":"^20","@types/react":"^18","@types/react-dom":"^18","@types/swagger-ui-react":"^4.18.3","@types/tough-cookie":"^4.0.5","@types/user-agents":"^1.0.4","autoprefixer":"^10.0.1","eslint":"^8.57.0","eslint-config-next":"14.1.4","postcss":"^8","tailwindcss":"^3.3.0","typescript":"^5"}) don't match specs in package.json ({"@tailwindcss/typography":"^0.5.12","@types/js-cookie":"^3.0.6","@types/node":"^20","@types/react":"^18","@types/react-dom":"^18","@types/swagger-ui-react":"^4.18.3","@types/tough-cookie":"^4.0.5","@types/user-agents":"^1.0.4","autoprefixer":"^10.0.1","eslint":"^8.57.0","eslint-config-next":"14.1.4","postcss":"^8","tailwindcss":"^3.3.0","typescript":"^5","@2captcha/captcha-solver":"^1.3.0","@playwright/browser-chromium":"^1.49.1","@vercel/analytics":"^1.2.2","axios":"^1.7.8","bufferutil":"^4.0.8","chromium-bidi":"^0.10.1","cookie":"^1.0.2","electron":"^33.2.1","ghost-cursor-playwright":"^2.1.0","js-cookie":"^3.0.5","next":"14.1.4","next-swagger-doc":"^0.4.0","pino":"^8.19.0","pino-pretty":"^11.0.0","react":"^18","react-dom":"^18","react-markdown":"^9.0.1","rebrowser-playwright-core":"^1.49.1","swagger-ui-react":"^5.18.2","tough-cookie":"^4.1.4","user-agents":"^1.1.156","utf-8-validate":"^6.0.5","yn":"^5.0.0"})
[14:47:39.349] Error: Command "pnpm install" exited with 1
[14:47:39.653]

@doodleempiress doodleempiress changed the title hallo!When i try deploy it on Vercel,something happened,looking forword to your response Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json when Deplongying on Vercel Feb 8, 2025
@termoraq2
Copy link

pnpm install

This will update the pnpm-lock.yaml to match your package.json

@gohoski
Copy link
Contributor

gohoski commented Feb 8, 2025

#227 should fix this

@lars-rsr
Copy link

lars-rsr commented Feb 11, 2025

On Vercel this does also the Job!
Image

@howardpen9
Copy link

On Vercel this does also the Job! Image

This is helpful. Thank you.

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

No branches or pull requests

5 participants