Error: EPERM: operation not permitted, scandir

Hello all,

I have been trying to build using eas build, and keep getting the following error:

:heavy_check_mark: Select platform › Android
:heavy_check_mark: Using remote Android credentials (Expo server)
:heavy_check_mark: Using Keystore from configuration: Build Credentials Bm5cLd1-en (default)

Compressing project files and uploading to EAS Build. Learn more
Error: EPERM: operation not permitted, scandir ‘/Users/oaooaoll/.Trash’
Code: EPERM

I have checked various forums for solutions and still unable to get past this.

Would appreciate som leadway on this.

Thanks

Oao

Where is a root of your git repository? It looks like eas is trying to pack your entire home dir to send to EAS.

Thanks
It is at
/Users/oaooaoll

1 Like

Thanks so much wkozyraExpo Team

You gave me a lead. Used ChatGpt to assist me find where my git repo was, and where it should be. Then what to do because my project had no git repo.
git init
git add .
git commit -m “Initial commit”

Never knew git could cause this and spent the whole of today trying all sorts.

Thanks so much. I have progress now.

2 Likes

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.