I just tried to run yarn dev and yarn build locally but I get different errors for each. I think it's because when yarn installed dependencies just now I'm getting slightly different versions than were used originally.
Can you add your yarn.lock file and remove its listing from the .gitignore file?