The usual problem is a weak battery. The starter pulls the voltage down so low that the ignition won't work.
When kick starting, there is sufficient power to operate the ignition.
Charge the battery fully and take it to a dealer or auto parts store for a load test to see how good the battery is.
scoot safely,