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
Percy2y ago
Project ID: N/A
ImRopoxPro
ImRopoxProOP2y ago
N/A
Brody
Brody2y ago
Your lockfile needs to be updated update your lockfile
ImRopoxPro
ImRopoxProOP2y ago
how i didnt enter any install commands
Brody
Brody2y ago
run yarn install locally
ImRopoxPro
ImRopoxProOP2y ago
ok lemme try no its still same
Brody
Brody2y ago
have you committed the changes?
ImRopoxPro
ImRopoxProOP2y ago
yes i'm sure + lockfile isn't changed
Brody
Brody2y ago
you want the lockfile to change
alex
alex2y ago
yarn upgrade
Brody
Brody2y ago
delete all lockfiles and regen them
alex
alex2y ago
that too but it might not make a change
ImRopoxPro
ImRopoxProOP2y ago
upgrade? locally?
alex
alex2y ago
yes that will for sure force a change in the lockfile i belive
ImRopoxPro
ImRopoxProOP2y 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
Brody2y ago
yep, simple fix
Want results from more Discord servers?
Add your server