features.isViewApiEnabled is not a function in Electron 29
Kilian opened this issue ยท 1 comments
Kilian commented
When using @electron/remote with the Electron 29 alpha (0 through 10) you get the error
TypeError: features.isViewApiEnabled is not a function
That's from this line: https://github.com/electron/remote/blob/707f035b73b4b9ae0ce769deb4e98f954e85b596/src/common/module-names.ts#L53C38-L53C38
Changing from features.isViewApiEnabled()
to features.isViewApiEnabled?.()
fixes the issue and should be backwards compatible, but I'm not sure what it's checking things for.
continuous-auth commented
๐ This issue has been resolved in version 2.1.2 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐