question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Submodule K2 clone failure

See original GitHub issue

Cloning nylas-mail using

git clone --recursive https://github.com/nylas/nylas-mail.git

leads to the error:

Submodule 'src/K2' (git@github.com:nylas/K2.git) registered for path 'src/K2'
Cloning into 'src/K2'...
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:nylas/K2.git' into submodule path 'src/K2' failed

This same problem causes an error when running bootstrap:

./script/bootstrap 

{ Error: Command failed: git submodule update --init --recursive
Cloning into 'src/K2'...
ERROR: Repository not found.
fatal: Could not read from remote repository.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:23 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
grinichcommented, Apr 4, 2017

We switched to voting on features on GitHub. The Trello board was from a time before GitHub issues had reactions. We’ve moved all of the relevant cards to GitHub now.

2reactions
grinichcommented, Apr 21, 2017

@captn3m0 it’s now merged into mainline and not a separate repo. Just clone master and you should be able to build fully from source

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cloning Submodule Fails from Mirror - Atlassian Documentation
Cause. This can happen when users who clone from the mirror don't have access to the upstream primary server. When creating a Submodule,...
Read more >
Git submodules intermittently failing to clone resulting ... - GitHub
I have a similar issue but in my case the submodule is private and no attempt should be made to clone it. In...
Read more >
cloning submodule fails - git - Stack Overflow
Just found the answer: git submodule add http://git.drupal.org/project/token.git sites/all/modules/token. The leading "/" was the problem.
Read more >
CI pipeline fails to clone submodule (#4256) - gitlab-runner
Summary. The CI pipeline for a project is currently unable to clone a submodule that is hosted on the same server as the...
Read more >
Go failed to clone my repository with submodule
The material (your git repository) is first cloned into the flyweight folder on the server and once a job is assigned to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found