I tried to install a package with yarn earlier today and I got this
yarn install yarn install v1.9.4 [1/4]
I got this as well.
I ran yarn install --no-lockfile and it worked, so I deleted the node modules again and deleted yarn.lock. It looks like a bug in yarn, because yarn wasn't having issues in previous versions of my application.
yarn install --no-lockfile
yarn.lock