Until someone comes out with an EMP weapon that doesn’t require a nuclear warhead...
That’s been done.
I don’t remember the details, but it think it involves an inductor carrying a high current and a small explosive charge.
There are several systems that create EMP effects. Of course they are much more limited in range than the nuclear EMP effect.
There are short range directed weapons and smaller area weapons.
I have been so informed by a fairly reliable source.