Unity package manager errors

So I am kind of new to unity. I don’t know if my problem is easily fixed but I tried installing mirror and after that, the console gave me 137 errors all similar to this one.

Library\PackageCache\com.unity.package-manager-ui@2.0.13\Editor\Sources\UI\PackageList.cs(133,24): error CS0246: The type or namespace name ‘VisualElement’ could not be found (are you missing a using directive or an assembly reference?)

When I click on them it brings me to visual studio. I am thoroughly confused.

No one has seen this yet but I have discovered that I was getting the error message that most people get when unity cannot communicate with the package manager. I already had unity open so it gave me the errors.

I am truly confused, if the second reply is not right please let me know what is wrong if you know what the problem is.

Hey there,

What version of Unity are you using, by chance?