Skip to content Skip to sidebar Skip to footer

Electron JavaScript Uncaught TypeError: Cannot Read Property 'on' Of Undefined

Hey I'm new to developing in Electron and I have no idea why I keep getting an error. the app is declared in the first couple of lines const electron = require('electron') const ap

Solution 1:

I know what the mistake I was making was, I added this line in my index.html file.

<script type="text/javascript" src="main.js">  </script>

That causes the error.


Post a Comment for "Electron JavaScript Uncaught TypeError: Cannot Read Property 'on' Of Undefined"