question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove remote module?

See original GitHub issue

@sindresorhus do you have any tips on how to approach this task for this project?

I’m finding it a bit difficult to reason about this package. Part of my difficulty comes from this bit: https://github.com/sindresorhus/electron-context-menu/blob/main/index.js#L7

Is there a use case where relying on webContents.getFocusedWebContents() would fail?

What parts of this package, if any, actually need to run in the renderer?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
dusansimiccommented, Apr 25, 2021

I’d like to work on this issue. Should we expect users to know what they’re doing or should there be some kind of check weather it’s being required in the main or the renderer process?

1reaction
sindresorhuscommented, Apr 29, 2021

We should throw a human-friendly error if it’s required in the renderer process.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How effectively delete a git submodule. - gists · GitHub
To remove a submodule you need to: Delete the relevant section from the .gitmodules file. Stage the .gitmodules changes git add .gitmodules; Delete...
Read more >
Remove-Module (Microsoft.PowerShell.Core)
The Remove-Module cmdlet removes the members of a module, such as cmdlets and functions, from the current session. If the module includes an...
Read more >
How to Bypass a Ceiling Fan Remote Control
Problem solved, I replaced the remote controller and module with a manual one like this and wired it to work with a three...
Read more >
Add, Update, and Remove Git Submodule | phoenixNAP KB
Add, update, or remove Git submodules by following this simple guide. ... you must commit and push the submodule addition to remote before ......
Read more >
Trying to wire a ceiling fan to eliminate the remote
it comes with a remote that operates the fan but neither my wife nor myself ... And yeah, the real reason I removed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found