Cannot read property 'provider' of undefined


Hi all,
i have this error when i install the electron app in the first time.

but after click ok, the app started without problem, the auto updater run normally…
Can you help me for resolve this error?

I have another question:
for print or save in file this error whit the stack trace, how shoult i do??