1. Error reporting using require:
nodeIntegration: true, contextIsolation: false
<meta http-equiv="Content-Security-Policy" content="default-src; style-src 'self' 'unsafe-inline'; media-src *;connect-src *;script-src * 'unsafe-inline' 'unsafe-eval';">
2. const electron = require(‘electron’) The following error is reported after using the contents. Uncaught TypeError: Cannot read property ‘dialog’ of undefined