0

electron new window problem

hey So for school we have to make an app using electron. But i have a problem. Right now i'm trying to make a new window using a button click. But i keep getting the error: Uncaught ReferenceError: require is not defined. I have been looking up on google for a while and everyone says to put nodeIntegration on true. Which i did. But still doesn't work. I have tried multiple ways to make a new window. Always the same error. This is the code, im working with; https://code.sololearn.com/ca3a14a230A1

12th Mar 2021, 2:51 PM
Jordi
Jordi - avatar
1 Respuesta
12th Mar 2021, 5:08 PM
Jordi
Jordi - avatar