Skip to content

Conversation

tbo47
Copy link
Contributor

@tbo47 tbo47 commented Feb 27, 2019

In next version of electron nodeIntegration will be set to false. It's true now.

https://electronjs.org/blog/electron-4-0#webpreferences-default-values

@maximegris
Copy link
Owner

Thanks :)

@maximegris maximegris merged commit 915b263 into maximegris:master Mar 2, 2019
@whyboris
Copy link
Contributor

whyboris commented May 9, 2019

Thank you so much! 🙌 I spent many hours trying to figure out why upgrading to Electron 5 didn't work in my app, then I tried upgrading this repository to Electron 5 and it worked flawlessly: #336

Then I searched the web some more, and discovered the answer:
https://stackoverflow.com/questions/55093700/electron-5-0-0-uncaught-referenceerror-require-is-not-defined

Then I checked commit history of main.ts and saw this PR setting me up for success 🙇

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

Successfully merging this pull request may close these issues.

3 participants