Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
0 answers
49 views

I am working on an Electron app that interacts with its backend via an API secured with mTLS. But at our project we don't have a CA. A privkey/certificate pair was generated once and now every client ...
Advice
0 votes
0 replies
76 views

I need a quick suggestion from you guys, I am currently working on a react + electron desktop application. In that i need to automate messages from that app to whatsapp. Is there any suggestions. I ...
Score of -1
0 answers
85 views

I am building a desktop application using Electron.js with a React frontend and a Go (Fiber) backend. During development (npm run dev), everything works perfectly. However, I am facing an issue when ...
Best practices
1 vote
1 replies
86 views

Most examples for how to write the contextBridge.exposeInMainWorld message handling in Electron's preload.js script list one specific function name for each message, e.g. openFile. I find it more ...
Score of -3
1 answer
94 views

The code example below for a main.js Electron file successfully changes the item label of the one item in menu Menu upon item click, but not its checked status when run in Electron Fiddle. As can be ...
Score of 0
0 answers
390 views

I have a problem with Electron start in my VS Code. By following installation guide I install the electron but have a problem with first start. When I trying to run npm run dev:electron I've got that ...
Score of 0
0 answers
99 views

I use electron to convert my python-flask web application into a Desktop application. As installer, I use NSIS electron builder with a custom nsis script for the customer details page. The issue is ...
Score of 1
1 answer
72 views

I'm new to Electron, I'm learning how IPC works. Let me show you my code: preload.js import { contextBridge, ipcRenderer } from 'electron' contextBridge.exposeInMainWorld('myApi', { performAction(...
Advice
0 votes
1 replies
69 views

When I working on a project that requires multiple windows, I use the BrowserWindow() method of Electron for doing this. My code of making the windows: const { app, BrowserWindow, screen, ipcMain} = ...
Score of 2
0 answers
89 views

I am building a desktop application using: Electron ^28.0.0 electron-builder ^24.9.0 Prisma ^5.8.0 Vue 3 + TypeScript During development (electron .) everything works correctly. However, after ...
Best practices
0 votes
0 replies
48 views

I would like to create an npm library for a base electron client where consumer projects use the same shared main process/renderer/preload. And currently exposing a defineConfigs function that ...
Score of -1
1 answer
168 views

I'm using the koffi library to call Win32 APIs from TypeScript. However, I'm stuck at the very first step: FindWindowW consistently returns 0 (NULL), indicating that the Progman window cannot be found....
Score of 1
0 answers
96 views

I am working on an Electron project with node-api (for C++ addons). The app crashes, even after a full-build. The problem that I am facing occurs within the C++ template addon that I have made. I have ...
Score of 2
0 answers
103 views

I've been trying to reimplement electron-click-drag-plugin for the needs of my Electron app. But I hit a hard wall when implementing it for X11. I've successfully sent the EWMH event, but it doesn't ...
Best practices
0 votes
1 replies
120 views

im a fresher Bscit student creating an managment tool application , for a company using antigravity, in halfway through the application but when i was looking for deployement , noticed electron in ...
Score of 0
1 answer
71 views

I am trying to build a simple terminal emulator with electron and node-pty. But when the app starts, it immediately crashes with the message (node:51806) UnhandledPromiseRejectionWarning: Error: ...
Score of 0
0 answers
98 views

There is a chromium flag called "overlay-scrollbar". It is supposed to re-enable css overflow: overlay. Some websites and articles claim that this chromium flag is disabled. However, it is ...
Tooling
0 votes
2 replies
58 views

Question: I’m exploring the architecture for a desktop application that needs to: Capture both microphone input and system audio (e.g. Zoom/Meet calls) Process the audio stream in near real-time (...
Advice
0 votes
0 replies
288 views

I am writing cause I wanted to get some opinions from folks here that have actually built and shipped with Electron. Background: Building an API IDE on Electron. Not really “just an API client”, and ...
Score of -2
1 answer
86 views

I'm developing an Electron web-like desktop app. I currently have a Login Page and a Home Page. Currently, the logic for login is implemented for development only so values are configured in an .env ...
Score of 2
0 answers
140 views

I imported the Chrome Manifest v3 extension into my project, but it failed to run due to errors of type “onRemoved” and “onClicked”. How can I resolve this issue? (electron) 'session.loadExtension' is ...
Advice
0 votes
7 replies
157 views

I was tasked with creating a system that would basically update a device with information. In that system it needs to connect to an android device with code. How can i do so without adb or developer ...
Score of 2
0 answers
88 views

I’m building an Electron-based IDE (https://github.com/Temple-Enterprise/Axiowisp) using electron-builder with the NSIS target on Windows. I have a custom .ico file configured in my build settings: &...
Score of 0
0 answers
76 views

I am trying to decrypt and import my env variables with Dotenvx. Previously we were using the traditional dotenv package which all worked. We want to switch to dotenvx for the encryption capabilities ...
Score of 0
0 answers
91 views

I’m using Electron + Vue + Vite in a pnpm workspace, and I’m stuck between two Prisma import errors. Environment Electron 28.x Prisma 5.22.0 @prisma/client 5.22.0 Vite + vite-plugin-electron pnpm ...
Score of 2
1 answer
81 views

I’m having an issue where my Electron app does not apply my icon.ico to the generated .exe file or its shortcuts after building the Windows installer. I’m using: electron: ^33.0.0 electron-builder: ^...
Best practices
0 votes
0 replies
61 views

I’m developing a desktop application for Windows 10 using Electron and Node.js. How can I programmatically open the Windows 10 on-screen (virtual) keyboard? Currently, I’m opening the touch keyboard, ...
Score of 0
0 answers
119 views

For example, including a screenshot functionality (npm screenshot-desktop) require imagemagick in linux (installed via sudo apt install imagemagick ) I tried to compile the app (using electron forge, ...
Score of 0
0 answers
76 views

I've encountered a strange problem. I have an Electron.NET application. In Startup.cs var window = Electron.WindowManager .CreateWindowAsync(new BrowserWindowOptions { Width = 1152, Height = 940, ...
Score of 0
0 answers
50 views

I want to use react-router v5 in electron app. I have a navbar component like this. But whenever I click on an Navlink (by default it's Home), it don't switch to exact component as I want. Here is my ...
Score of 3
0 answers
185 views

In principle, all I'm looking to accomplish is embed a static build of a web app into an electron powered vite app. Context == File Structure == - public/ | - static_build/ | - index.html | - ... ...
Score of 2
1 answer
149 views

I'm using Electron and Vite package to manage hot-reload on my app. I'd like to call an event on close, which does some stuff, which works on both user's close and Vite's hot reload (which close the ...
Score of 2
1 answer
179 views

I am new in Angular environment and I am actually developing a little desktop app with electron. I have inserted the selector (app-root) of the App component (generated automatically) into index.html'...
Tooling
1 vote
5 replies
236 views

I have an Electron app that I build using webpack + electron-forge. I consider to migrate to vite + electron-builder. The migration succeeded quite smoothly, and dev experience with vite is way better ...
Score of 1
1 answer
115 views

I'm new to building Electron apps and was trying to create a transparent, blurred window in a Vite + React + Electron app using vibrancy: 'under-window'. I checked both the CSS and the BrowserWindow ...
Score of 0
1 answer
138 views

The project is electron+typescript, I enter two commands npm run build and npm start, it hints need install electron-prebuilt-compile package, as shown image. https://i.sstatic.net/fyvYMR6t.png The ...
Score of 0
0 answers
127 views

I’m trying to automate an Electron desktop application using Playwright, but there’s a complication: The app cannot be opened manually. It only launches when an exam link is clicked, e.g., exam://...
Score of -3
1 answer
89 views

I am using spawn to open exe app, it's open success but behind Window Task manager, can someone help? I am using tablet mode: kioskProcess = spawn( 'cmd.exe', [ '/c', ...
Score of 0
1 answer
572 views

I am packaging my Electron application with Electron Builder. The command is: npx electron-builder build The build works well enough, but I get the following warning: (node:27191) [DEP0190] ...
Score of 2
0 answers
61 views

I just make a simple photobox electron app. The printable photo is already set in the sessionPath with name "photo_print.jpg". The problem here is the print function is error, the result is ...
Score of 1
1 answer
100 views

As far as I’m aware, the old way of registering protocols has been deprecated. In my code I have the following for an internal protocol: // Before: protocol.registerStringProtocol( 'doit',...
Score of 1
0 answers
46 views

From the answer to a question I asked (Electron: Drag and Drop a file on the icon) I have the following code to process files dropped on an icon for a running Electron app: // main.js const {app, ...
Score of 3
1 answer
505 views

I’m using Electron Builder to package my application. I’m doing this on a Macintosh because I can, and that’s my development environment. The command is: npx electron-builder build --win --x64; It ...
Score of 0
1 answer
70 views

I am developing a Windows Electron application and I suspect a USB / libusb conflict between the usb library and Yoctopuce’s JavaScript API (yoctolib-cjs/yocto_api). When both are used in the same ...
Score of -3
1 answer
106 views

According to my intentions, the application must display the loading screen until FileManager class will finish the initialization. Once this initialization done, the broswerWindow must to submit the &...
Advice
0 votes
2 replies
60 views

I am working on a project using electron-vite and using the @quick-start command for scaffolding the project. When I used this template, it came with a folder called "Build". I tried to ...
Score of 0
1 answer
94 views

I am trying to import a React component Menu.jsx from App.jsx in my Electron app. No errors are showing up, but nothing is being rendered and are not added to the DOM (the body is empty when I looked ...
Score of 0
1 answer
92 views

I created a serverside Blazor App and "electronized" it by following the instructions in the read me on the electronNET/electron.NET github page. One of the requirements for this app is to ...
Tooling
0 votes
2 replies
43 views

I have a React web app that I am running inside an Electron app. I am doing this so that I can screen record like so: window.electronAPI.startRecording(); However, some of the content on the screen ...
Score of 0
1 answer
76 views

I'm developing a Linux application that opens SSO authentication URLs in the default browser. On Ubuntu 22.04 and 24.04, when Firefox is the default browser, clicking the SSO link shows a file picker ...

1
2 3 4 5
306