Problem Description
Encountered the following problems when compiling ROS
Could not find a package configuration file provided by "serial" with any
of the following names:
serialConfig.cmake
serial-config.cmake
solution
sudo apt-get install ros-melodic-serial
ps: The melodic in the middle depends on your own ros version