EPERM: operation not permitted, open '/app/yarn-error.log' in Windows
I fix it by changing the folder right access /app/.It only allowed me to make changes so I change it to allow the access write execute and read to all and it worked, just fine.
So changing the right access of your folder should solved your issue.