Skip to main content

All Questions

Tagged with
-1 votes
0 answers
16 views

electron opens raw main file source code in my native browser

When I run my electronjs app (electron . or electron electron.js) instead of opening a electron tab it opens the electron.js file in my browser (opera) as if it were a text file I figured out that the ...
iEnis's user avatar
  • 13
0 votes
0 answers
12 views

Angular 14 and Electron js Outlook integration doesn't work after creadentials given

We have used @azure/msal-angular For outlook integration in our system. let result = await this.msalService .loginPopup({ scopes: [ 'user.read', 'Mail....
Henil Mehta's user avatar
-1 votes
0 answers
40 views

No icon is displayed

The following problem needs to be solved: when you drag shortcuts to the container, they are duplicated and their image is not displayed. Below I provide the main code of node js electron and renderer....
UserAndroidDeveloper's user avatar
0 votes
0 answers
25 views

Uncaught TypeError: Cannot read properties of undefined (reading 'send')

`Windows; MS Code; "Electron" 5.0.4, simple desktop text editing app I get the following error after clicking the save button; the button is located on the "index.html" page in a &...
Sam McGraw's user avatar
0 votes
0 answers
21 views

Load React or Angular Component In OpenFin

I am trying to get an OpenFin app to run using the Platform API: https://developers.openfin.co/of-docs/docs/platform-getting-started I can get a 'platform' running, and x2 panels using the example in ...
Oam Psy's user avatar
  • 8,621
-1 votes
0 answers
18 views

How to create electron app that will replace windows desktop

How can i develop an app, that can be used instead of default windows desktop, couldn't find any tutorials online, so I'm asking here I only found some ways of using kodi, but I want exactly electron ...
rllynotfox's user avatar
-1 votes
1 answer
58 views

How can i fix Electron problem: Error: ENOTDIR, not a directory?

I'm using an electron for the first time. I ran into a problem when building the application. I do everything according to the documentation, I use electron-forge. npm run make runs without problems, ...
Казбек Сабанаев's user avatar
0 votes
0 answers
9 views

Electron Forge resolving path to node module using absolute path rather than using relative path

I'm trying to create an app that include the get-windows npm package, but I cannot distribute my app because Electron Forge is using resolving the package to an absolute path rather than a relative ...
atrinh's user avatar
  • 1
1 vote
2 answers
70 views

Is it possible to add an eventListener to a custom title bar used for dragging the window in a frameless window?

Added a custom title bar to a frameless window in order to make the window draggable. The title bar shows, but eventListener won't fire: main.js: const createWindow = () => { const win = new ...
nBar's user avatar
  • 27
0 votes
0 answers
26 views

Uncaught TypeError: Failed to resolve module specifier "monaco-editor". Relative references must start with either "/", "./", or "../"

I'm getting started using a Monaco Editor for an Electron JS application. So far I'm able to get the file content on a user's directory no problem but when I try to append it to a Monaco Editor is ...
BeratK2's user avatar
  • 63
0 votes
0 answers
25 views

Node.js Electron App renders a blank screen on start [closed]

I have an Electron app with Shadcn/ui, and when I start the program, I only get a blank white screen. In the console, I see no errors. I tried using other guides, but they were either outdated or not ...
MindOfEmi's user avatar
0 votes
0 answers
15 views

How to prevent system shutdown if an electron app is running

I want to send an api request when the user closes the app. I have managed to send an api request on that but on shutdown the request is not sent. Is there any way in electron that we can prevent ...
Abhishek Yadav's user avatar
0 votes
0 answers
15 views

Does electron have a way to get information about the printer, including sub-sheet information, paper quantity, etc

ipcMain.handle('getPrinterAsync', async (_, args) => { return this.windowPrint.getWindow().webContents.getPrintersAsync(); }) Does electron have a way to get information about the printer, ...
user19317635's user avatar
-2 votes
0 answers
55 views

Error while running react - electron in browser - Uncaught ReferenceError: require is not defined

I am tryin to make a electron - react application and while running i am getting a error on the console of the browser. Uncaught ReferenceError: require is not defined at Object.events (bundle.js:...
Sherlock-Holmes-2-2-1's user avatar
-1 votes
0 answers
20 views

How can I require the electron module from within cordova's renderer process?

I created a plain cordova-electron application using this tutorial. I am trying to access the ipcRenderer object of the electron module so I can receive events sent from the main process (cdv-electron-...
nick zoum's user avatar
  • 7,329

15 30 50 per page
1
2 3 4 5
424