Skip to content
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

Need to add 'enableRemoteModule' and 'contextIsolation' to support newer electron (eg 14)? #35

Open
vraravam opened this issue Oct 4, 2021 · 1 comment

Comments

@vraravam
Copy link

vraravam commented Oct 4, 2021

I was trying to debug why I keep getting the following error:

VM254 renderer_init.js:81 Error: @electron/remote is disabled for this WebContents. Set {enableRemoteModule: true} in WebPreferences to enable it.

The suspicion that I have is that this is not defined in the constants file as a props element. Could you please confirm if this is the case or whether I need to go down a different line of thinking?

I'm trying to upgrade to electron 14, and the code can be found in this PR comment

@vraravam
Copy link
Author

This is now completely broken with electron 16. Any help please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant