Delta icon indicating copy to clipboard operation
Delta copied to clipboard

Error when trying to clone Delta locally (Please make sure you have the correct access rights and the repository exists.)

Open Monohen opened this issue 2 years ago • 1 comments

I am trying to compile Delta to my Mac locally but when updating the submodules with git submodule update --init --recursive, I get an error telling me:

Cloning into 'Delta'...
remote: Enumerating objects: 8930, done.
remote: Counting objects: 100% (216/216), done.
remote: Compressing objects: 100% (106/106), done.
remote: Total 8930 (delta 112), reused 201 (delta 108), pack-reused 8714
Receiving objects: 100% (8930/8930), 43.40 MiB | 15.42 MiB/s, done.
Resolving deltas: 100% (5003/5003), done.
monokai@Jeriahs-MacBook-Air ~ % cd Delta
monokai@Jeriahs-MacBook-Air Delta % git submodule update --init --recursive
Submodule 'Cores/DSDeltaCore' (https://github.com/rileytestut/DSDeltaCore.git) registered for path 'Cores/DSDeltaCore'
Submodule 'Cores/DeltaCore' ([email protected]:rileytestut/DeltaCore.git) registered for path 'Cores/DeltaCore'
Submodule 'Cores/GBADeltaCore' ([email protected]:rileytestut/GBADeltaCore.git) registered for path 'Cores/GBADeltaCore'
Submodule 'Cores/GBCDeltaCore' ([email protected]:rileytestut/GBCDeltaCore.git) registered for path 'Cores/GBCDeltaCore'
Submodule 'Cores/GPGXDeltaCore' (https://github.com/rileytestut/GPGXDeltaCore.git) registered for path 'Cores/GPGXDeltaCore'
Submodule 'Cores/MelonDSDeltaCore' (https://github.com/rileytestut/MelonDSDeltaCore.git) registered for path 'Cores/MelonDSDeltaCore'
Submodule 'Cores/N64DeltaCore' ([email protected]:rileytestut/N64DeltaCore.git) registered for path 'Cores/N64DeltaCore'
Submodule 'Cores/NESDeltaCore' ([email protected]:rileytestut/NESDeltaCore.git) registered for path 'Cores/NESDeltaCore'
Submodule 'Cores/SNESDeltaCore' ([email protected]:rileytestut/SNESDeltaCore.git) registered for path 'Cores/SNESDeltaCore'
Submodule 'External/Harmony' (https://github.com/rileytestut/Harmony.git) registered for path 'External/Harmony'
Submodule 'External/Roxas' ([email protected]:rileytestut/Roxas.git) registered for path 'External/Roxas'
Cloning into '/Users/monokai/Delta/Cores/DSDeltaCore'...
Cloning into '/Users/monokai/Delta/Cores/DeltaCore'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:rileytestut/DeltaCore.git' into submodule path '/Users/monokai/Delta/Cores/DeltaCore' failed
Failed to clone 'Cores/DeltaCore'. Retry scheduled
Cloning into '/Users/monokai/Delta/Cores/GBADeltaCore'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:rileytestut/GBADeltaCore.git' into submodule path '/Users/monokai/Delta/Cores/GBADeltaCore' failed
Failed to clone 'Cores/GBADeltaCore'. Retry scheduled
Cloning into '/Users/monokai/Delta/Cores/GBCDeltaCore'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:rileytestut/GBCDeltaCore.git' into submodule path '/Users/monokai/Delta/Cores/GBCDeltaCore' failed
Failed to clone 'Cores/GBCDeltaCore'. Retry scheduled
Cloning into '/Users/monokai/Delta/Cores/GPGXDeltaCore'...
Cloning into '/Users/monokai/Delta/Cores/MelonDSDeltaCore'...
Cloning into '/Users/monokai/Delta/Cores/N64DeltaCore'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:rileytestut/N64DeltaCore.git' into submodule path '/Users/monokai/Delta/Cores/N64DeltaCore' failed
Failed to clone 'Cores/N64DeltaCore'. Retry scheduled
Cloning into '/Users/monokai/Delta/Cores/NESDeltaCore'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:rileytestut/NESDeltaCore.git' into submodule path '/Users/monokai/Delta/Cores/NESDeltaCore' failed
Failed to clone 'Cores/NESDeltaCore'. Retry scheduled
Cloning into '/Users/monokai/Delta/Cores/SNESDeltaCore'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:rileytestut/SNESDeltaCore.git' into submodule path '/Users/monokai/Delta/Cores/SNESDeltaCore' failed
Failed to clone 'Cores/SNESDeltaCore'. Retry scheduled
Cloning into '/Users/monokai/Delta/External/Harmony'...
Cloning into '/Users/monokai/Delta/External/Roxas'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:rileytestut/Roxas.git' into submodule path '/Users/monokai/Delta/External/Roxas' failed
Failed to clone 'External/Roxas'. Retry scheduled
Cloning into '/Users/monokai/Delta/Cores/DeltaCore'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:rileytestut/DeltaCore.git' into submodule path '/Users/monokai/Delta/Cores/DeltaCore' failed
Failed to clone 'Cores/DeltaCore' a second time, aborting

Would anybody tell me what is going on? I do have git submodules installed & cocoaPods as well as Xcode & macOS on the latest version and updated to the latest version.

Monohen avatar Sep 15 '22 02:09 Monohen

Xcode version 14
git version 2.37.0
macOS version 12.6
git-lfs/3.2.0

Monohen avatar Sep 15 '22 02:09 Monohen

@Monohen check your permissions on Github. follow the rabbit down the hole ..

itsNotting avatar Nov 01 '22 15:11 itsNotting

Got it working by manually cloning the different modules into the respective folders, don't know why it didn't work when using the submodule command

yolocat-dev avatar Jan 31 '23 17:01 yolocat-dev