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

error: pathspec 'melodic' did not match any file(s) known to git. #139

Open
konnoeric opened this issue Oct 12, 2021 · 1 comment
Open

Comments

@konnoeric
Copy link

I am at an installation step and encountering some error. Please help me.
I received this error when I executed git checkout melodic. What is the reason causing this issue?

error: pathspec 'melodic' did not match any file(s) known to git.

OS : Ubuntu 18.04
ROS : Melodic

Screenshot from 2021-10-12 13-37-42

@louislelay
Copy link

Hi @konnoeric, it looks like you didn't clone the repository correctly. The error in your terminal indicates that the lidar_camera_calibration directory already exists and is not empty, so the repository wasn't cloned. You should go back to ~/catkin_ws/src, remove the existing directory, and then run the git clone command again.

As a final piece of advice, no offense intended, but it's always good to check your terminal for basic errors you could troubleshoot easily before opening an issue. Seeing "fatal" in response to a git clone command is a clear sign to stop and troubleshoot before proceeding with the next installation commands.

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