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

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 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