error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.
if you update your package.json only.
and then
run yarn install --frozen-lockfile
The above error show you on console.
it's say that you need to run just yarn install
.
--fronzen-lockfile
option is tell you need to update your lock.file which will be much dependency of package in your package.json.
It's possible to occure in server when you deploy.
if there are your changed package.json that pushing to git repogitory already in server
, But you forget to change yarn.lockfile and have not been git it,
run above command (--forzen-lockfile
).
you notice that your forgot it.
It worked, Thanks!