I can't build my Svelte app

It gives this error
#11 2.513 error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.
#11 2.513 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
#11 ERROR: executor failed running [/bin/bash -ol pipefail -c yarn install --frozen-lockfile]: exit code: 1
#11 2.513 error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.
#11 2.513 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
#11 ERROR: executor failed running [/bin/bash -ol pipefail -c yarn install --frozen-lockfile]: exit code: 1
16 Replies
Percy
Percy17mo ago
Project ID: N/A
ImRopoxPro
ImRopoxPro17mo ago
N/A
Brody
Brody17mo ago
Your lockfile needs to be updated update your lockfile
ImRopoxPro
ImRopoxPro17mo ago
how i didnt enter any install commands
Brody
Brody17mo ago
run yarn install locally
ImRopoxPro
ImRopoxPro17mo ago
ok lemme try no its still same
Brody
Brody17mo ago
have you committed the changes?
ImRopoxPro
ImRopoxPro17mo ago
yes i'm sure + lockfile isn't changed
Brody
Brody17mo ago
you want the lockfile to change
alex
alex17mo ago
yarn upgrade
Brody
Brody17mo ago
delete all lockfiles and regen them
alex
alex17mo ago
that too but it might not make a change
ImRopoxPro
ImRopoxPro17mo ago
upgrade? locally?
alex
alex17mo ago
yes that will for sure force a change in the lockfile i belive
ImRopoxPro
ImRopoxPro17mo ago
Railway runs a yarn command with --frozen-lockfile option i dont know where it comes from also its using yarn v1.x.x and my system has v3.2.3 dude what it randomly worked when i deleted the lockfile
Brody
Brody17mo ago
yep, simple fix