Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

electron Uncaught ReferenceError: require is not defined

new BrowserWindow({
        width: 800, height: 600,
        webPreferences: {
            nodeIntegration: true,
            contextIsolation: false,
            enableRemoteModule: true,
          }
    })
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #electron #Uncaught #require #defined
ADD COMMENT
Topic
Name
1+1 =