Closed seravifer closed 3 years ago
It's seems if you set contextIsolation: false
, doesn't work.
I have the exact same issue on the exact same repo you mentioned. I am not sure what your solution is? Why was this closed. Can you please elaborate on your solution. Thanks.
Yes.
By default, they have contextIsolation
disabled and for some reason it fails to load the library. If you set that property to true
, it works. I don't know exactly why.
https://www.electronjs.org/docs/tutorial/context-isolation
is there any solution on this? I need contextIsolation set to false for loading native node modules in my angular app.
I install this package on the https://github.com/maximegris/angular-electron template and throw this: