Grant operates on objects that already exist. They probably want ALTER DEFAULT PRIVILEGES or maybe just a superuser.
The Postgres docs are actually really really good.
https://www.postgresql.org/docs/current/sql-alterdefaultpriv...
https://www.postgresql.org/docs/current/role-attributes.html