My D10.6 site throws an error
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException:
You have requested a non-existent service "navigation_extra.hooks". Did
you mean this: "navigation_extra.manager"?
Formatting the services entry differently with the alias seemed to fix it.