-
-
Notifications
You must be signed in to change notification settings - Fork 281
Closed
Description
Hey,
I have been reading up on Electron best practices and the official docs recommend turning off nodeIntegration for any renderer that loads remote content.
In my app, I use a preload script to expose any node modules that I need in the renderer process. Everything else is handled via IPC.
nodeIntegration is not required in my app. Turning it off , however, breaks the app. It just doesn't launch.
Error message
Root cause
I tried using a new project, disabled nodeIntegration and the error still appeared. There are few issues on Github about this and the solution is always
Enable nodeIntegration
Is this a bug or expected behavior?
cawa-93, jsmnbom, sabifa, sickhack, averichev and 3 more
Metadata
Metadata
Assignees
Labels
No labels

