Also, compile errors in a new “fresh” project can come from included Unity packages, for example if they are outdated packages for older Unity versions. You’d resolve those in the package manager (though the errors usually include information which points to a specific package in that case).