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

[Bug]: URL for v4-core in .gitmodules leads to Permission denied error #25

Closed
apoorvlathey opened this issue Jun 15, 2023 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@apoorvlathey
Copy link

Describe the bug

Executing forge install fails for lib/v4-core with the following:

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:Uniswap/v4-core.git' into submodule path './v4-periphery/lib/v4-core' failed
Failed to clone 'lib/v4-core'. Retry scheduled
Cloning into './v4-periphery/lib/v4-core'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Expected Behavior

Replace url in .gitmodules from git@github.com:Uniswap/v4-core.git to https://github.com/Uniswap/v4-core

To Reproduce

No response

Additional context

No response

@apoorvlathey apoorvlathey added the bug Something isn't working label Jun 15, 2023
@apoorvlathey apoorvlathey changed the title [Bug]: URL for v4-core in .gitmodules leads to Permission denied (publickey) error [Bug]: URL for v4-core in .gitmodules leads to Permission denied error Jun 15, 2023
@sm-stack
Copy link

sm-stack commented Aug 8, 2023

I think the problem does not come from the .gitmodules, but it comes from the permission of Linux itself. I got no problem when I tried to install with the root user.

@BedrosovaYulia
Copy link

have the same issue

1 similar comment
@usgeeus
Copy link

usgeeus commented Sep 20, 2023

have the same issue

@skywalker2017
Copy link

skywalker2017 commented Feb 28, 2024

regenerate the ssh public key can solve the problem

@saucepoint
Copy link
Collaborator

Closed with #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants