Can't edit input text field after window.alert()
According to this post on StackOverflow alert
is not supported by electron due to it freezing up the threads when executing. While you may be able to call it you may want to see about moving to electron's dialog
or an in page modal (like a MaterialUI or Bootstrap modal) instead if possible.