When re-cloning the package written by others from GitHub and re-catkin_make, you may encounter the error message shown in the title, which is caused by the lack of corresponding packages in the system. The general solution is as follows:
sudo apt-get install ros-noetic-xxx-xxx
Noetic needs to be changed to the ros version you are actually running, xxx-xxx represents the name of the missing package, such as move_base, and it is written as move-base when downloading.