@swizzard The error you’re seeing means that your yarn.lock file needs to be updated and committed to your git repo. This is necessary after you make changes to package.json dependencies.
You should not need to set that Env Var as it will end up getting you in trouble in the long run.
Do this locally:
- run
yarn
oryarn install
(same thing) - there should be changes to the file
yarn.lock
- commit those changes to git and then push to your repo
- when you redeploy, you should see a clean build log (reminder to remove the env var)
Please let me know if this doesn’t work for you.