What's wrong with this ? $$-2=(-2)^{1}=(-2)^{\frac22}=(-2)^{2\times\frac12}=((-2)^2)^{\frac12} = 4^{\frac12} = 2$$ Note that Wolfram Alpha gives : $-2=(-2)^{2/2} = (-2)^{2\times\frac12}$, and on the other hand $((-2)^2)^{\frac12}=2$. So, based on Wolfram Alpha, I would say that the rule $a^{bc}=(a^b)^c$ doesn't hold when $a<0$.
But at the same time, Wolfram Alpha still gives $$-2=(-2)^{\frac12\times2}=((-2)^{\frac12})^2$$ so it looks like the rule $a^{bc}=(a^b)^c$ holds after all.
I mention that I don't mind working in $\mathbb C$ (so we can have $(-2)^{\frac12}=i\sqrt2$). My question is :
What are the conditions on $a, b, c$ for $a^{bc}=(a^b)^c$ to be true ?
You have a domain error. You should not take a rational exponent of a negative number if that exponent has an even denominator.