Issue with Electon 16

Open
#94 20 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
electron, typescript
Domain
desktop-dev

Research direction

Start by reproducing the reported error with Electron 16, then compare the @electron/remote initialization and WebPreferences behavior with Electron 15. The issue is resolved when the cause of the Electron 16 regression is identified and the reported remote-module behavior is corrected or clearly documented.

Written by the indexing model from the issue text.

Description

node:electron/js2c/renderer_init:73 Error: @electron/remote is disabled for this WebContents. Set {enableRemoteModule: true} in WebPreferences to enable it.

enableRemoteModule is set true and remote is initialized in main. Worked fine with Electron 15.

Dominant language
TypeScript
Stars
411
Forks
53
Avg merge
3m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from electron/remote

All issues in electron/remote

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.