MarshallOfSound / MarshallOfSound/react-electron-web-view
Need to add 'enableRemoteModule' and 'contextIsolation' to support newer electron (eg 14)?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 64
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
I was trying to debug why I keep getting the following error:
```
VM254 renderer_init.js:81 Error: @electron/remote is disabled for this WebContents. Set {enableRemoteModule: true} in WebPreferences to enable it.
```
The suspicion that I have is that this is not defined in the `constants` file as a `props` element. Could you please confirm if this is the case or whether I need to go down a different line of thinking?
I'm trying to upgrade to electron 14, and the code can be found in this [PR comment](https://github.com/getferdi/ferdi/pull/1860#issuecomment-933517432)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the constants file referenced in the report and inspect how WebPreferences properties are passed to Electron's webview; compare that path with Electron 14 requirements and the linked Ferdi PR comment. Done means the requested options are supported and the reported @electron/remote error no longer occurs under the relevant configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript, react
- Domain
- desktop, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100