#Node Integration issue - require is not defined when loading javascript to html.
10 messages · Page 1 of 1 (latest)
You can't require with contextisolation as false
Is there any repo listed as an example for enabling node? I've read through these docs I still cant get a grasp around it
Guess not?
If this is your code you show
Your require should work
If not then you trying to use require without nodeIntegration enabled
Maybe try to add sandbox: false