I remember that I saw this error before I think @Guillem Cordoba figured out a way to fix it.
Was related to this I think: https://github.com/material-components/material-web/issues/3733
Maybe the profiles UI is the culprit... (after the switch to the latest material-web version)