Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: features.isDesktopCapturerEnabled is not a function #167

Closed
hovancik opened this issue Oct 12, 2023 · 1 comment
Closed

TypeError: features.isDesktopCapturerEnabled is not a function #167

hovancik opened this issue Oct 12, 2023 · 1 comment

Comments

@hovancik
Copy link

hovancik commented Oct 12, 2023

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.

@hovancik
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant