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

Vercel deployment fails - Error: Command "pnpm install" exited with 1 #34

Closed
trevorwelch opened this issue Aug 23, 2023 · 1 comment
Closed

Comments

@trevorwelch
Copy link

I'm using a pretty stock version (no pnpm) on my local and it builds fine. Is there a way to remove pnpm so that it doesn't try to build from that on Vercel?

ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
--
22:55:00.873 |  
22:55:00.873 | 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"
22:55:00.874 |  
22:55:00.874 | Failure reason:
22:55:00.874 | specifiers in the lockfile ({"@astrojs/image":"^0.17.2","@astrojs/mdx":"^0.19.7","@astrojs/sitemap":"^2.0.1","@astrojs/tailwind":"^4.0.0","@fontsource-variable/inter":"^5.0.5","@tailwindcss/typography":"^0.5.9","astro":"^2.9.7","astro-icon":"^0.8.1","astro-navbar":"^2.0.1","astro-seo":"^0.7.5","sharp":"^0.32.4","tailwindcss":"^3.0.24"}) don't match specs in package.json ({"@astrojs/image":"^0.17.2","@astrojs/mdx":"^0.19.7","@astrojs/sitemap":"^2.0.1","@astrojs/tailwind":"^4.0.0","@fontsource-variable/inter":"^5.0.5","@tailwindcss/typography":"^0.5.9","astro":"^2.9.7","astro-icon":"^0.8.1","astro-navbar":"^2.0.1","astro-seo":"^0.7.5","sharp":"^0.32.5","tailwindcss":"^3.0.24"})
22:55:00.903 | Error: Command "pnpm install" exited with 1
@trevorwelch
Copy link
Author

Just deleted pnpm-lock.yaml and that solved it

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

1 participant