Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

electron Uncaught ReferenceError: require is not defined at recorder.js:1

app.on('ready', () => {
    mainWindow = new BrowserWindow({
        webPreferences: {
            nodeIntegration: true
        }
    });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #electron #Uncaught #require #defined
ADD COMMENT
Topic
Name
4+1 =