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

Unable to update the git submodules #390

Open
JR40159 opened this issue Oct 9, 2023 · 1 comment
Open

Unable to update the git submodules #390

JR40159 opened this issue Oct 9, 2023 · 1 comment

Comments

@JR40159
Copy link

JR40159 commented Oct 9, 2023

After the cloning the repository, running git submodule update --init as documented in the README fails due to network timeout.

Submodule 'test/suite' (git:/json-schema-org/JSON-Schema-Test-Suite.git) registered for path 'test/suite'
Cloning into '/xxx/xxx/xxx/jsonschema/test/suite'...
fatal: unable to connect to github.com:
github.com[0: 140.82.121.3]: errno=Connection timed out

This means that the library cannot be installed via npm using the github URL because npm clones the repository and resolves submodules.

@henryrgithub
Copy link
Contributor

I had this issue when I had cloned the repo via HTTPS, but the submodule link in .gitmodules was GIT syntax.

You might have luck either cloning the repo over SSH (using the GIT link) or changing the link in the .gitmodules file to https://

A PR #396 has since been merged that includes the change to the .gitmodules link, so you could pull latest and then the update should just work.

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

2 participants