#Anyone ever had error deploying on Vercel cos "pnpm-lock.yamn" going kookoo?

2 messages · Page 1 of 1 (latest)

indigo yarrow
#

Trying to deploy a project on Vercel but continue to get this message 'ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json' . I have tried the following steps to resolve to no avail:

  1. Deleted the existing pnpm-lock.yaml file from your project.

  2. Ran pnpm install again.

  3. tried running pnpm install --no-frozen-lockfile as suggested in the error message.

My pnpm -v: 7.33.3

Here is the foll log below:

[14:12:41.456] Running build in Cleveland, USA (East) – cle1
[14:12:41.517] Cloning github.com/Publ/-gudniche (Branch: main, Commit: b4f9ab9)
[14:12:41.523] Skipping build cache, deployment was triggered without cache.
[14:12:41.925] Cloning completed: 407.164ms
[14:12:42.110] Running "vercel build"
[14:12:42.610] Vercel CLI 31.0.1
[14:12:42.893] Warning: Detected "engines": { "node": ">=16" } in your `package.json` that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version
[14:12:42.917] Detected `pnpm-lock.yaml` version 6 generated by pnpm 8...
[14:12:42.932] Installing dependencies...
[14:12:43.487]  ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
[14:12:43.487] 
[14:12:43.487] 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:12:43.487] 
[14:12:43.488]     Failure reason:
[14:12:43.488]     specifiers in the lockfile ({"@headlessui/react":"^1.7.15","@vercel/og":"^0.5.6","clsx":"^1.2.1","is-empty-iterable":"^3.0.0","next":"13.4.6","react":"18.2.0","react-cookie":"^4.1.1","react-unicorn":"^47.0.0","lint-staged":"^13.2.2","postcss":"^8.4.24","prettier":"^2.8.8","prettier-plugin-

help pls

tardy girderBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

      🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in <id:customize>

      ✅ You can mark a message as the answer for your post with `Right click -> Apps -> Mark Solution`
      (if you don't see the option, try refreshing Discord with Ctrl + R)