Setting NodeIntegration to false prevents Electron window from opening #327

Open
opened 2026-01-29 16:36:33 +00:00 by claunia · 0 comments
Owner

Originally created by @raloverafs on GitHub (May 23, 2019).

Originally assigned to: @GregorBiswanger on GitHub.

  • Version: ElectronNET.CLI Version: 5.22.12.0

  • Target: .NET Core 2.1

Screen Shot 2019-05-23 at 4 30 29 PM

Steps to Reproduce:

  1. Make a basic Electron.NET app.
  2. Make a BrowserWindowOptions with WebPreferences.NodeIntegration = false
  3. Pass said BrowserWindowOptions to Electron.WindowManager.CreateWindowAsync

We need to set NodeIntegration to false because we are dependent on jQuery, Bootstrap, and Highcharts.

Screen Shot 2019-05-23 at 4 42 07 PM

How can we fix this? Also, is there a workaround to make jQuery and Highcharts work in Electron.NET?

Originally created by @raloverafs on GitHub (May 23, 2019). Originally assigned to: @GregorBiswanger on GitHub. * **Version**: ElectronNET.CLI Version: 5.22.12.0 * **Target**: .NET Core 2.1 <img width="533" alt="Screen Shot 2019-05-23 at 4 30 29 PM" src="https://user-images.githubusercontent.com/47339880/58237624-26ae1080-7d78-11e9-92aa-cfce0b53a52f.png"> Steps to Reproduce: 1. Make a basic Electron.NET app. 2. Make a BrowserWindowOptions with WebPreferences.NodeIntegration = false 3. Pass said BrowserWindowOptions to Electron.WindowManager.CreateWindowAsync We need to set NodeIntegration to false because we are dependent on jQuery, Bootstrap, and Highcharts. <img width="382" alt="Screen Shot 2019-05-23 at 4 42 07 PM" src="https://user-images.githubusercontent.com/47339880/58238409-cd46e100-7d79-11e9-89a0-85b7dcae10df.png"> How can we fix this? Also, is there a workaround to make jQuery and Highcharts work in Electron.NET?
claunia added the bug label 2026-01-29 16:36:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#327