Hello dears,
I tried building my app using sudo eas build -p android, and I keep getting this error,
Compressing project files and uploading to EAS Build. Learn more: https://expo.fyi/eas-build-archive
✖ Compressing project files
Error: Cannot copy a socket file: /Users/halkawtsalih/Library/Developer/Xcode/GPUToolsAgent.sock
Also, When I try to to build eliminator version, I get this error,
If the build is not installable on your simulator because of “… is damaged and can’t be opened.”, please run:
xattr -rd com.apple.quarantine /path/to/your.app
My eas version: eas-cli/0.57.0 darwin-x64 node-v16.16.0
that is just a warning to let you know if you do see that error when installing the build, this is how to resolve it. i believe this has only happened on some specific versions of xcode and so isn’t likely to occur.
The error message in the original post looks like it is caused by eas trying to upload your whole home directory to the build server instead of just your app.
That might happen if it thinks your home directory is the root of your project. And that might happen if you have package.json, app.json, node_modules in your home directory.
Also, the actual root of your app should have package.json, app.json (or app.config.js or similar), node_modules, etc. and usually also a .git directory.