I got it to work. The problem was that Chemkin reaction mechanism files MUST have the ELEMENTS and SPECIES declared before the reactions. However, the San Diego mechanisms available from
https://web.eng.ucsd.edu/mae/groups/combustion/mechanism.html have a
parent mechanism (which they call "The San Diego Mechanism") whereas the rest are
children and are supposed to be appended to the parent before converting to Cantera (or other formats).
Therefore, I prepended the ELEMENTS and SPECIES to the DME mechanism and ck2yaml stopped throwing errors instantly.
I hope this is helpful to others in the future.
Thanks!