I got the similar error, with expo 50 and yarn install each time one dependency is mentioned as an error and when deleting it from package.json the issue isn't solved. I tried clearing the cache, deleting node modal, yarn lock, restarting Vs code, and any possible solution mentioned on the web. By chance I installed "expo doctor" to check if it mentions any issue or not. but then I could install yarn. also, I installed other dependencies and the error message forced me to delete them. for anyone who might face the similar issue, I added this command to the sample of errors I faced
https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.7.2.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "EBUSY: resource busy or locked, open 'YOUR LOCAL FILE\Yarn\Cache\v6\npm-@fortawesome-fontawesome-common-types-6.7.2-7123d74b0c1e726794aed1184795dbce12186470-integrity\node_modules\@fortawesome\fontawesome-common-types\LICENSE.txt'"