electron/remote

TypeError: features.isDesktopCapturerEnabled is not a function

hovancik opened this issue · 1 comments

Hi,

with "electron": "^27.0.0" and "@electron/remote": "^2.0.12" I am getting

"Unable to load preload script: process.js", source: node:electron/js2c/renderer_init (2)
"TypeError: features.isDesktopCapturerEnabled is not a function", source: node:electron/js2c/renderer_init (2)

Looks like there were changes done recently: #166 by @codebytere

I haven't gone through Electron 26 as there was some other issue on Linux but with Electron 25 and "@electron/remote": "^2.0.10" all was working fine.

Digging deeper I see npm installed different version than I specified. Removing node_modules was needed. Sorry for spam.