Webtorrent-desktop: electron.remote.screen.getAllDisplays is not a function (telemetry.js:77)

Created on 18 Nov 2020  路  6Comments  路  Source: webtorrent/webtorrent-desktop

I've noticed that with electron@11 this error is thrown

electron.remote.screen.getAllDisplays is not a function (telemetry.js:77)

I've tested and this error does not appear with electron@10, so I suspect that could be something related with the warning that refers to https://github.com/electron/electron/issues/23506

I'm trying to find a fix, but I've not find a solution yet 馃槗

_Originally posted by @hicom150 in https://github.com/webtorrent/webtorrent-desktop/issues/1895#issuecomment-729677773_

accepted blocked bug

All 6 comments

I think it might be related to https://github.com/electron/electron/issues/21408 which has to do with a change to the remote module.

Filed upstream as electron/electron#26610.

@andersk Thank you for filing an upstream bug!

Seems like the issue was fixed on master. Once it's in a release, we can update Electron and see if this issue is fixed.

My fix was backported in 11.0.3, just released.

@andersk Great, thank you for getting this fixed! I just updated Electron on master and confirmed that the issue has been fixed. 馃ぉ

Was this page helpful?
0 / 5 - 0 ratings