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
(node:87637) UnhandledPromiseRejectionWarning: TypeError: Error processing argument at index 0, conversion failure from
at Ci.enable (/Applications/SMBActApp.app/Contents/Resources/app/app-native/main.js:3994:85)
at Di.enableBlockingInSession (/Applications/SMBActApp.app/Contents/Resources/app/app-native/main.js:4066:93)
at c. (/Applications/SMBActApp.app/Contents/Resources/app/app-native/main.js:16148:63)
at Generator.next ()
at n (/Applications/SMBActApp.app/Contents/Resources/app/app-native/main.js:16058:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
original call is before minimization:
this._win = new BrowserWindow({
},
});
if (this._blockMetadata.blockAds) {
blocker.enableBlockingInSession(this._win.webContents.session);
}
Minimization of the application in webpack causes the problem with
const PRELOAD_PATH = require.resolve('@cliqz/adblocker-electron-preload');
as result in the minified code:
(node:87637) UnhandledPromiseRejectionWarning: TypeError: Error processing argument at index 0, conversion failure from
at Ci.enable (/Applications/SMBActApp.app/Contents/Resources/app/app-native/main.js:3994:85)
at Di.enableBlockingInSession (/Applications/SMBActApp.app/Contents/Resources/app/app-native/main.js:4066:93)
at c. (/Applications/SMBActApp.app/Contents/Resources/app/app-native/main.js:16148:63)
at Generator.next ()
at n (/Applications/SMBActApp.app/Contents/Resources/app/app-native/main.js:16058:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
original call is before minimization:
this._win = new BrowserWindow({
the problem is on these two lines:
adblocker/packages/adblocker-electron/adblocker.ts
Line 90 in 7f65291
adblocker/packages/adblocker-electron/adblocker.ts
Line 18 in 7f65291
looks like workaround to put: loadCosmeticFilters = false in configuration.
The text was updated successfully, but these errors were encountered: