Skip to content
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

Error when auto deploying on Vercel #26

Open
freemank1224 opened this issue Nov 21, 2024 · 7 comments
Open

Error when auto deploying on Vercel #26

freemank1224 opened this issue Nov 21, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@freemank1224
Copy link

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

@blueeon blueeon added the bug Something isn't working label Nov 22, 2024
@blueeon
Copy link
Collaborator

blueeon commented Nov 22, 2024

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

Thanks for the feedback! I’ll take a look.

@Sylar-W
Copy link

Sylar-W commented Nov 25, 2024

I faced the same issue too

@wensley
Copy link

wensley commented Nov 27, 2024

same

1 similar comment
@aga-j
Copy link

aga-j commented Nov 28, 2024

same

@OrekiYuta
Copy link

the same issue on vercel deployment.

[20:09:34.889] Previous build cache not available
[20:09:35.316] Cloning completed: 787.052ms
[20:09:35.679] Running "vercel build"
[20:09:36.297] Vercel CLI 39.1.1
[20:09:36.737] Detected `pnpm-lock.yaml` version 6 generated by [email protected]
[20:09:36.753] Installing dependencies...
[20:09:37.453]  ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
[20:09:37.454] 
[20:09:37.454] 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"
[20:09:37.454] 
[20:09:37.454]     Failure reason:
[20:09:37.454]     specifiers in the lockfile ({"@mdx-js/loader":"^3.0.1","@mdx-js/react":"^3.0.1","@next/mdx":"^14.2.3","@radix-ui/react-label":"^2.0.2","@radix-ui/react-radio-group":"^1.1.3","@radix-ui/react-scroll-area":"^1.0.5","@radix-ui/react-select":"^2.0.0","@radix-ui/react-slot":"^1.0.2","@radix-ui/react-switch":"^1.0.3","@types/mdx":"^2.0.13","@vercel/analytics":"^1.2.2","class-variance-authority":"^0.7.0","clsx":"^2.1.1","lucide-react":"^0.378.0","markdown-to-poster":"^0.0.9","next":"14.2.3","react":"^18","react-dom":"^18","tailwind-merge":"^2.3.0","tailwindcss-animate":"^1.0.7","@tailwindcss/typography":"^0.5.13","@types/node":"^20","@types/react":"^18","@types/react-dom":"^18","eslint":"^8","eslint-config-next":"14.2.3","postcss":"^8","tailwindcss":"^3.4.1","typescript":"^5"}) don't match specs in package.json ({"@tailwindcss/typography":"^0.5.13","@types/node":"^20","@types/react":"^18","@types/react-dom":"^18","eslint":"^8","eslint-config-next":"14.2.3","postcss":"^8","tailwindcss":"^3.4.1","typescript":"^5","@mdx-js/loader":"^3.0.1","@mdx-js/react":"^3.0.1","@next/mdx":"^14.2.3","@radix-ui/react-label":"^2.0.2","@radix-ui/react-radio-group":"^1.1.3","@radix-ui/react-scroll-area":"^1.0.5","@radix-ui/react-select":"^2.0.0","@radix-ui/react-slot":"^1.0.2","@radix-ui/react-switch":"^1.0.3","@types/mdx":"^2.0.13","@uiw/react-md-editor":"^4.0.4","@vercel/analytics":"^1.2.2","class-variance-authority":"^0.7.0","clsx":"^2.1.1","lucide-react":"^0.378.0","markdown-to-poster":"^0.0.9","next":"14.2.3","react":"^18","react-dom":"^18","tailwind-merge":"^2.3.0","tailwindcss-animate":"^1.0.7"})
[20:09:37.472] Error: Command "pnpm install" exited with 1
[20:09:37.641] 

@riverai
Copy link

riverai commented Nov 28, 2024

same here

@zczczcaaa
Copy link

我也是一样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants