-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'app' of undefined #133
Comments
I have the same issue on electron 10.x |
@mathieupothier, have you tried to set the |
I tested it in the past and it did not work back then. Got to try it again since you asked and I spotted an error on my end. The enableRemoteModule: true needs to be in webPreferences: {} Was: Needed to be: Now it works perfectly. So unless it's the same for you, it seems to be working with the flag properly set. |
@mathieupothier, yes, thank you for the tip. It works for me too with the flag inside |
thanks. It works! |
Hey thanks for the solution! I'll add this to the README. |
@nathanbuchar, no no no no, this is not a solution, this is a crutch. |
Sorry, I misunderstood when glancing through this issue. Yes that would be very helpful, thank you! |
Hi @nathanbuchar, |
@ThibaultJousse thanks for bumping this. It's always been in the back of my mind, just haven't gotten around to it, for really no good reason :) I'll take care of this right now |
After looking at the PR the other day, I learned that this fix is a bit more involved than I was originally expecting. Will in to dig in a bit more this weekend, sorry about that! |
Hi there! Just wanted to follow up on this. |
Hey! I know it's been a year but I just want to say that using the Relevant links: |
I appreciate you bumping this, however I have not used Electron in years. I'd highly recommend submitting a PR, as it's unlikely I will address this anytime soon |
Sure! I'll submit a PR later to address this in the README. |
Electron version: 10.0.0
Electron-settings version: 4.0.2
Platform: Windows 10
This function of the source depends on the "remote" module which is deprecated. In the new versions of the Electron it will be removed afaik.
The text was updated successfully, but these errors were encountered: