'Error: EPERM: operation not permitted, rmdir
I built an app in react native in Expo. After trying to make a build for google play store, I ran the command 'eas build --platform android' but I got the error saying ' Error: EPERM: operation not permitted, rmdir 'C:\Users<username>\AppData\Local\Temp\eas-cli-nodejs\cbb3100e-c845-4dda-8e44-8c0d7f74b4b5-shallow-clone' Code: EPERM'.
I have tried a lot of things but nothing works. I really need some help here.
Solution 1:[1]
Make sure you run this as Administrator. EPERM is a permissions issue.
Solution 2:[2]
it cause by empty directory, please check the empty directory in project and delete it ..
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | RyloRiz |
Solution 2 | Anthony Jayanto Tjoa |