remote
remote copied to clipboard
Bridge JavaScript objects from the main process to the renderer process in Electron.
we try to share a MediaStreamTrack across windows using remote.getGlobal `remote.getGlobal('shared').videoStream = desktopstream.getVideoTracks()[0];` in main.js its also still recognized as a MediaStreamTrack but when we get it in the 2nd...
# Description An error occurs during NodeJS is including '.\server' from @electron/remote. `Error: No such module was linked: electron_common_v8_util` I am a software tester. I use Spectron to automate my...
If got some error: inside background.js `require('@electron/remote/main').initialize();` in the App.vue File ``` import fs from 'fs'; import pathModule from 'path' import { app } from '@electron/remote'; import { onMounted, ref...
``` 2021/12/28 15:30:11:334 TypeError: Cannot read properties of null (reading 'type') at metaToValue (C:\Program Files\Badlion Client\resources\app.asar\node_modules\@electron\remote\dist\src\renderer\remote.js:250:14) at Object.getBuiltin (C:\Program Files\Badlion Client\resources\app.asar\node_modules\@electron\remote\dist\src\renderer\remote.js:360:12) at Object.get [as app] (C:\Program Files\Badlion Client\resources\app.asar\node_modules\@electron\remote\dist\src\renderer\remote.js:398:28) at Object.get...
Hi, I'm trying to use require('@electron/remote'), but it fails upon startup with an error, process is not defined. ``` vue-router.esm-bundler.js:3295 ReferenceError: process is not defined at Object.622 (index.js:13:1) at __webpack_require__...
### Expected Behavior ```javascript const webview = webContents.fromId(webviewel.getWebContentsId()) webview.addListener('will-navigate', e => console.log(e)) ``` This code must return an object like this ```javascript { isTrusted: false url: "https://mail.google.com/" bubbles: false cancelBubble:...
at handleMessage (remote.js?6062:321:1) at eval (remote.js?6062:344:1)
Electron version: 15.3.1 @electron/remote version: 2.0.1 When adding a `` that has a preload script that imports `@electron/remote` I get `Error: @electron/remote is disabled for this WebContents.`. `electronRemoteMain.enable(window.webContents);` is ran...
If remote is in use in the renderer and the page is reloaded >10 times (via `location.reload()` or `webContents.reload()`), the following scary sounding warning appears in the Node console: ```...
Hello, i have a strange behavior using @electron/remote with interceptFileProtocol: **main.js** ``` const { app, ipcMain, BrowserWindow, protocol} = require('electron'); const log = require('electron-log'); var win = null; //used for...