nodeca sync: improved errors reporting on templates compilation