You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run this software on my Apple silicon Mac, and cannot get it to run. This error was already posted a month ago, but since there was no fix I decided to post it again.
This is the error I am getting when trying to run npm start:
src/main.ts:20:7 - error TS2322: Type '{ preload: string; nodeIntegration: false; worldSafeExecuteJavaScript: true; contextIsolation: true; }' is not assignable to type 'WebPreferences'.
Object literal may only specify known properties, and 'worldSafeExecuteJavaScript' does not exist in type 'WebPreferences'.
20 worldSafeExecuteJavaScript: true,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/electron/electron.d.ts:13642:5
13642 webPreferences?: WebPreferences;
~~~~~~~~~~~~~~
The expected type comes from property 'webPreferences' which is declared here on type 'BrowserWindowConstructorOptions'
src/main.ts:177:7 - error TS2322: Type '{ sandbox: true; webSecurity: true; contextIsolation: true; webviewTag: false; enableRemoteModule: false; allowRunningInsecureContent: false; nodeIntegration: false; nodeIntegrationInWorker: false; nodeIntegrationInSubFrames: false; nativeWindowOpen: false; safeDialogs: true; }' is not assignable to type 'WebPreferences'.
Object literal may only specify known properties, and 'enableRemoteModule' does not exist in type 'WebPreferences'.
177 enableRemoteModule: false,
~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/electron/electron.d.ts:13642:5
13642 webPreferences?: WebPreferences;
~~~~~~~~~~~~~~
The expected type comes from property 'webPreferences' which is declared here on type 'BrowserWindowConstructorOptions'
Found 2 errors.
I'd appreciate any help. Thanks
The text was updated successfully, but these errors were encountered:
I am trying to run this software on my Apple silicon Mac, and cannot get it to run. This error was already posted a month ago, but since there was no fix I decided to post it again.
This is the error I am getting when trying to run npm start:
I'd appreciate any help. Thanks
The text was updated successfully, but these errors were encountered: