Every time I am executing a launch file, some error comes up

user:~/catkin_ws/src$ roslaunch service_client_pkg service.launch
… logging to /home/user/.ros/log/d69f2dfc-abb9-11e9-873e-0242ac120007/roslaunch-rosds_computer-11420.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://rosds_computer:44611/

SUMMARY

PARAMETERS

  • /rosdistro: kinetic
  • /rosversion: 1.12.14

NODES
/
service_client (service_client_pkg/simple_service_client)

ROS_MASTER_URI=http://localhost:11311

ERROR: cannot launch node of type [service_client_pkg/simple_service_client]: can’t locate node [simple_service_client] in package [service_client_pkg]
No processes to monitor
shutting down processing monitor…
… shutting down processing monitor complete

// details of launch file


It looks like you have not compiled the code of your node.

Did you go to catkin_ws and then issued there the command catkin_make ?