given that compilation succeeds elsewhere, it has to be something with your local environment
are you sure you didn’t, say, migrate from pleroma in the past and have some weird commits?
if all else fails, there’s always the fallback of deleting your _build
folder and forcing a recompile