Each individual computation is arithmetically fine: (−64)2=4096 and 40961/6=4, while (−4)3=−64 gives (−64)1/3=−4.
((−64)2)1/6=4but(−64)1/3=−4
An expression names one number, so the fault is in the notation, not the arithmetic. Well-definedness of am/n was proved from the fact that a positive base has exactly one positive n-th root, and −64 has none. For a positive base both routes agree, and no such conflict can arise.