Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

yarn lockfile mismatch in simple create-nuxt-app project #676

Open
samijaber opened this issue Jun 1, 2022 · 0 comments
Open

yarn lockfile mismatch in simple create-nuxt-app project #676

samijaber opened this issue Jun 1, 2022 · 0 comments

Comments

@samijaber
Copy link

samijaber commented Jun 1, 2022

Hey all,

I just created this very simple project using create-nuxt-app, and tweaked:

  • a few components.
  • installed one additional npm project (@builder.io/sdk-vue)
  • updated nuxt.config.js
  • added vercel.json

For some reason, my build crashes with a yarn.lock mismatch error, even though running yarn install locally does not update my yarn.lock. I tried deleting the file and re-creating it by running yarn, but I still get the exact same lockfile.

The error I get is:

19:12:42.931 | error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.
19:12:42.931 | info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
19:12:42.969 | Error! Command "yarn install" exited with 1
19:12:43.075 | Error: Command "vercel build" exited with 1

The project in question is here: https://github.com/samijaber/builder-nuxt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant