Ask Your Question

Error : The package node must contain at least one "license" tag

asked 2019-11-15 10:17:04 -0600

vatsal gravatar image

I am getting the error: "The package node must contain at least one "license" tag"

The package.xml code is

<?xml version="1.0"?>
  <description>The mpu9250 9dof imu package for ROS</description>

  <!-- One maintainer tag required, multiple allowed, one person per tag -->
  <maintainer email="">Juan Gonzalez</maintainer>

  <!-- The *_depend tags are used to specify dependencies -->
  <!-- Dependencies can be catkin packages or system dependencies -->
  <!-- Examples: -->
  <!-- Use build_depend for packages you need at compile time: -->
  <!--   <build_depend>message_generation</build_depend> -->
  <!-- Use buildtool_depend for build tool packages: -->
  <!--   <buildtool_depend>catkin</buildtool_depend> -->
  <!-- Use run_depend for packages you need at runtime: -->
  <!--   <run_depend>message_runtime</run_depend> -->
  <!-- Use test_depend for packages you need only for testing: -->
  <!--   <test_depend>gtest</test_depend> -->

  <!-- The export tag contains other, unspecified, tags -->
    <!-- Other tools can request additional information be placed here -->

edit retag flag offensive close merge delete


Have you tried running a diff between your launch file and a known good launch file? That might help you figure out the line you are missing. It sounds like you are missing some boiler plate.

kscottz gravatar image kscottz  ( 2019-11-15 11:20:02 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-11-15 12:22:14 -0600

You need something like:


in your package.xml.

Read more here:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2019-11-15 10:17:04 -0600

Seen: 310 times

Last updated: Nov 15 '19