So, just like a normal day i wanna make an expo app, but this time it give me an error when i run "npx eas-cli build --profile development"
Compressing project files and uploading to EAS Build. Learn more: https://expo.fyi/eas-build-archive
× Compressing project files
Failed to upload the project tarball to EAS Build
Reason: Cannot copy 'C:\Users\F' to a subdirectory of itself, 'C:\Users\F\AppData\Local\Temp\eas-cli-nodejs\579c2de5-b407-437c-8a83-3af512494f85-shallow-clone'.
Error: build command failed
please help me
I fixed mine simply using git init, you can check here for detailed explanation.
just run the git init command on your project since EAS needs it to upload the files
https://github.com/expo/fyi/blob/main/eas-build-archive.md
open the eas.json file, modify the cli object from this
"cli": {
"version": ">= 12.5.1",
"appVersionSource": "remote",
}
to this
"cli": {
"version": ">= 12.5.1",
"appVersionSource": "remote",
"requireCommit": true
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With