Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal : this operation must be run in a work tree android #19

Open
Manish-Tapsi opened this issue Sep 5, 2024 · 0 comments
Open

fatal : this operation must be run in a work tree android #19

Manish-Tapsi opened this issue Sep 5, 2024 · 0 comments

Comments

@Manish-Tapsi
Copy link

Manish-Tapsi commented Sep 5, 2024

Can anyone help! im getting this error while syncing sources

repo sync -c --no-clone-bundle --optimized-fetch --prune --force-sync -j$(nproc --all)
Fetching: 100% (1437/1437), done in 2m13.107s
fatal: this operation must be run in a work tree
error: external/anonymous-counting-tokens/: platform/external/anonymous-counting-tokens checkout 2fdc42088c335922f9705bbbd346e8a132133765
error: Cannot checkout platform/external/anonymous-counting-tokens
fatal: this operation must be run in a work tree
error: external/crosvm/: platform/external/crosvm checkout 58a95a19480ccb863ccfdf75a54abf41530d0eda
error: Cannot checkout platform/external/crosvm
Checking out: 8% (128/1437) platform/external/libxkbcommonfatal: this operation must be run in a work tree
error: external/cn-cbor/: platform/external/cn-cbor checkout 4599dc0f89f1d8de89ddc00a4310e9a99a2c2639
error: Cannot checkout platform/external/cn-cbor
Checking out: 42% (608/1437) platform/external/rust/crates/rayon-corefatal: this operation must be run in a work tree
error: dalvik/: platform/dalvik checkout 9f908c182cb8151602ab3816978e9457dfe49a78
error: Cannot checkout platform/dalvik
Checking out: 48% (704/1437) platform/external/rust/crates/tracingfatal: this operation must be run in a work tree
error: device/common/: device/common checkout 04fda06ffe8c9a3698dca646dd8ce49f4cbb00ca
error: Cannot checkout device/common
Checking out: 99% (1436/1437), done in 2m16.652s
prebuilts/clang/host/linux-x86/clang-latest/: leaving master; does not track upstream
Checking out: 0% (1/1437), done in 1m32.492s
error: Unable to fully sync the tree
error: Checking out local projects failed.
Failing repos:
external/cn-cbor
external/anonymous-counting-tokens
external/crosvm
dalvik
device/common
Try re-running with "-j1 --fail-fast" to exit at the first error.

Repo command failed due to the following SyncError errors:
platform/external/cn-cbor checkout 4599dc0f89f1d8de89ddc00a4310e9a99a2c2639
platform/external/anonymous-counting-tokens checkout 2fdc42088c335922f9705bbbd346e8a132133765
platform/external/crosvm checkout 58a95a19480ccb863ccfdf75a54abf41530d0eda
platform/dalvik checkout 9f908c182cb8151602ab3816978e9457dfe49a78
device/common checkout 04fda06ffe8c9a3698dca646dd8ce49f4cbb00ca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant