What is error

Library\PackageCache\com.unity.2d.animation@7.0.6\Editor\SkinningModule\Triangulation\TriangulationUtility.cs(14,6): error CS0246: The type or namespace name ‘BurstCompile’ could not be found (are you missing a using directive or an assembly reference?)

It looks like you’re mising a file. You can try reinstalling the package or you can browse to the Library\PackageCache\com.unity.2d.animation@7.0.6 folder, delete its content (make a backup before if you want to), go back to Unity and let it recompile. Maybe this way Unity does the job for you.