You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using app.js and have added dev tools. In the console I'm getting Error: Cannot find module 'remote' in module.js 440. I have not changed the repo structure.
Any idea what might be the problem with finding remote?
The text was updated successfully, but these errors were encountered:
But because you are making use of "remote" in the main process when it is made to be used in the application renderer side?
In Electron, GUI-related modules (such as dialog, menu etc.) are only available in the main process, not in the renderer process. In order to use them from the renderer process, the ipc module is necessary to send inter-process messages to the main process. With the remote module, you can invoke methods of the main process object without explicitly sending inter-process messages, similar to Java’s RMI.
--- Remote Docs
I'm using app.js and have added dev tools. In the console I'm getting
Error: Cannot find module 'remote'
in module.js 440. I have not changed the repo structure.Any idea what might be the problem with finding
remote
?The text was updated successfully, but these errors were encountered: