B Implications of e^i*pi = -1

Before I start, there are only really two pieces of information this concerns and that is the idea that 1x = 1 and that ei*π = -1

So it would follow that (ei*π)i = -1i
And so that would mean that i2i = e-π which doesn't seem to be right at all. Where is the issue here as there must be one but I am sure I don't have the knowledge required to figure it out.

So it would follow that (ei*π)i = -1i
And so that would mean that i2i = e-π which doesn't seem to be right at all. Where is the issue here as there must be one but I am sure I don't have the knowledge required to figure it out.