1,455 questions
2
votes
1
answer
29
views
ElectronJS shell openPath cannot open file inside app.asar
Try to open a HTML file that resides inside the packaged app app.asar file. The file is there but Windows complains that cannot find the file. The pieces of the puzzle are:
inside the win-unpacked\...
-1
votes
0
answers
70
views
Transparent, unfocusable and clickable BrowserWindow in Electron
I am creating a button that is clickable but doesn't bring the app to the foreground. To achieve this I implemented the button as a separate BrowserWindow with focusable: false and its parent set to ...
-1
votes
0
answers
60
views
No app icon on Linux app with electron-builder, but shown when electron is used directly
i am programming an app with vite, svelte@4, electron and electron-builder. if i run electron ./start-electron.js the logo is shown, but after many days of trial and error i still don't get it in the ...
0
votes
0
answers
81
views
electron-builder custom install path
I have the below build script:
"build": {
"appId": "com.yourcompany.gamelauncher",
"productName": "My Game",
"directories": {
...
1
vote
0
answers
37
views
Auto-update not installing after quit and reopen on macOS 13 Ventura (Electron)
Environment
Electron: 25.x (tested)
electron-builder / electron-updater: tested with electron-builder 23.x / electron-updater (versions may vary)
macOS: 13.x Ventura
Relevant code (main process/...
1
vote
0
answers
154
views
electron Process failed: rpmbuild failed (exit code 1)
I don't know why I have this error when trying to make dist from fedora with rpm and I have everything about rpm that says it is not there and nothing works, I will leave the package.json and the ...
3
votes
2
answers
168
views
IPC delay from main process to renderer with Claude Integration [closed]
I have written a simple Electron Project with Claude integration.
Idea here is to use Claude-code npm package to access terminal and make the query to claude to get the required results and display it ...
0
votes
0
answers
44
views
Electron-builder content is not available for windows build production but work on mac and linux
i have a challenge since 3 days and even chatGpt couldn't resolve my issue :)
I have a react/capacitor/electron app packaged with vite to build. Everything ok for capacitor and Mac/Linux Electron. But ...
3
votes
2
answers
561
views
electron-builder building issue "can't detect abi"
I was trying to use electron-builder to build my app, and I get an error.
It worked a month ago and I didn't change anything in the package.json file, but now it doesn't work. The app does work when I ...
0
votes
0
answers
32
views
Pass base URL to .exe installer when downloading it
I have my Azure pipeline generating a .exe installer file to be downloaded by user when clicking a download button in web application. The user will be able to install the electron application through ...
0
votes
0
answers
49
views
Unable to change app icon for exe file in electron-vite electron builder
I am trying to change app icon for my exe file, attaching my electron-builder.yml file, the build is successful but my exe file icon does not change, it is 256x256 size and icon file, but does not ...
0
votes
0
answers
90
views
Electron Nodejs App breaks when signed, but works unsigned
This is probably a rookie error, so bear with me please.
I have a built an app for ARM Mac that works when building it without explicitly signing it as well as in dev mode.
When successfully signing ...
3
votes
0
answers
363
views
How to add custom app icon to my Electron app with Electron-Vite
I am having hard time setting up a custom app icon to my electron app running on Windows. And i've looked up different posts but none of them solves my question.
I am using Electron-Vite to create the ...
1
vote
0
answers
102
views
Electron with Webpack, React & TypeScript - __dirname is not defined in Renderer Process
I’m building an Electron app using the following stack: Webpack, TypeScript and React.
I manually build the app using:
npx webpack --config webpack.main.config.ts
npx webpack --config webpack.renderer....
0
votes
0
answers
102
views
Electron JS Print Receipt with electron-pos-printer cuts page too soon and doesn't print properly
I am building a POS system in Electron JS 35.0.1 and Angular 19. I have installed electron-pos-printer 1.3.6. The printer is triggered by a websocket notification from my backend. Currently the ...
1
vote
0
answers
96
views
How to fix unable to build chain to self-signed root for signer, while building macos app for appstore using electron?
I am trying to build my app into a mas file using electron on vscode so that I can share it to the app store.
I have bought the dev membership, have certificates setup, have key on my keychain. So I ...
0
votes
0
answers
37
views
how to enable interaction only for one item and disable for others
so im trying to implement transparent window with Electron, which should be un-interactable, except of one item, it can be some input or button etc...
So currently, im disabling frame and saying that ...
0
votes
0
answers
55
views
Electron Vite dist build not referencing dynamically imported form-data package required by Axios for dist build
Im building an Electron App with Vite that uses Axios. It seems that Axios requires a dynamically imported package called form-data. When running my built .exe portable after Ive built it I get the ...
1
vote
0
answers
13
views
Electron Error running server node js where packaging
i have a problem to connect with server when using electron builder so i guess the electron cant find the server file server.js
in the root there is client server folders and main.js package.json
main....
0
votes
0
answers
79
views
After I used electron-builder to package the application and uploaded it to transporter, four warnings related to application Helper appeared
After I used Electron and electron-builder to package the application and uploaded it to transporter, four warnings related to the application Helper appeared as follows.
"Cannot be used with ...
0
votes
0
answers
17
views
Strange issues encountered after packaging a Vue project with Electron
I created a web application using vue-cli and packaged it into a Windows application using Electron. To enable local content updates by modifying configuration files in the installation directory and ...
-1
votes
1
answer
337
views
Getting Error can not find module call-bind-apply-helper in window electron js production build
error message
I have tried electron js production build in linux it is working fine but when creating build in production it is giveing me error, It was stopping suddenly and giving error,
for this i ...
0
votes
0
answers
28
views
Electron Push Reciver With Latest Firebase APIs
Earlier we used the electron-push-receiver NPM package, Now these https://fcm.googleapis.com/fcm/connect/subscribe we are getting a 404 Error.
index.js file source
const uuidv4 = require('uuid/v4');
...
0
votes
0
answers
88
views
My Electron App is Not Loading After Packaging
Checked app.asar contents
I verified that build/index.html and other necessary files exist inside app.asar, meaning they are correctly included in the package.
✅ 2. Modified electron.js to correctly ...
0
votes
0
answers
45
views
Can't Publish Electron App form Github using Electron-Builder
I am trying to publish my Electron app to GitHub using electron-builder, but I keep getting this error:
Error: GitHub Personal Access Token ("ghp_xxxxxxxxx npm run build") contains invalid ...
0
votes
0
answers
49
views
Custom procotol in Electron to replace file protocol for Angular app in production
I've created an Angular app in Electron and everything has been working great until now. For security reasons, I've disabled the Electron fuse grantFileProtocolExtraPrivileges which means I can no ...
0
votes
0
answers
60
views
custom icon not appearing in windows appx build
I am creating a react / electron desktop app for mac/windows/linux. When I run my electron-builder command npm run build it creates the dist/ folder containing my windows builds. It creates windows ...
0
votes
0
answers
53
views
Unable to Access Webview Methods and Attributes in Electron + NextJS App
I tried using a webview in a an Electron app to implement a simple browser
here's the index.html for that
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="...
1
vote
1
answer
328
views
How to Create a Fixed Header, Footer, and Sidebar Layout with Scrollable Content in Electron?
I am working on an Electron application with a specific layout requirement and encountering issues with unwanted scrollbars. I need the header, footer, and navigation sidebar to remain fixed in ...
-1
votes
1
answer
137
views
How to register electron app for 'tel' protocol at the time of installation?
Electron version 30
Using Electron builder (25.0.0-alpha.9)
At the time of installation, I want my app to get registered for handling the 'tel' protocol. My application should be listed in the ...
0
votes
0
answers
84
views
Custom install and start windows service when using electron-builder
I've figured out how to install a windows service that manages a server (server.exe) when the user install the app via the ElectronBuilder.exe created when I package the app.
However, the Windows ...
0
votes
0
answers
289
views
Electron app with bundled Node.js server fails to load Vite app on systems without Node.js
I'm developing an Electron application that bundles a Node.js server to serve a Vite-built React application. The goal is for the application to be self-contained and work correctly on systems that ...
1
vote
0
answers
127
views
Unable to Install Canvas in Electron Project on macOS
I am trying to install the canvas library in my Electron project but have been unable to do so.
Environment Details:
Node.js Version: 18.13.0 (using NVM)
OS: macOS (ARM64)
Electron: (Add Electron ...
0
votes
0
answers
23
views
Using electron-builder, how to include a dynlib on Linux?
I build my application with Electron-builder. On Linux I need to ship a .so file used by the .node library, but the file is nowhere inside the app.asar file.
On Windows I do the same for a .dll file ...
0
votes
0
answers
23
views
Avoid writing Cookies in file in case of MAC in electron
The following code is used to load my application. When the URL is accessed, an API call is made that attempts to set cookies, such as session_id. On macOS (DARWIN), Electron creates a cookies file to ...
0
votes
0
answers
26
views
Problem with Flask subprocess using Electron-builder
I'm testing with electron, it's the first time I've used it to package a desktop application. My application is composed of a frontend made in React and the backend in flask.
My flask application was ...
0
votes
0
answers
79
views
Problem with dynamic libraries in an executable packaged with PyInstaller (--onedir) and Electron Builder on Linux
I have a small project that uses python3 for the backend and for the front electron.
And in development mode, the electron with the python backend works fine.
But when I make a binary of the backend (...
6
votes
0
answers
514
views
How to skip signing when building with electron-builder
Here is my electron-builder.json:
{
"$schema": "node_modules/app-builder-lib/scheme.json",
"asar": true,
"directories": {
"output": "...
1
vote
0
answers
92
views
How to export stand-alone HTML-CSS-JS from next-js to use with electron-js to run like a standalon desktop App
I have a simple Next.js application (Login Page - Home Page) in Next.js version 15.1.4. I tried to export my application into plain HTML format. However, there is a problem: static contents like CSS, ...
0
votes
0
answers
77
views
React + Electron Builder v25.1.8 Code Signing and Notarizing Stuck
I have React Project Web Application, wrapping with Electron to build as Desktop Application. I am trying to code signing & notarizing with following documentation https://www.electron.build/code-...
1
vote
1
answer
299
views
Unable to sign mac electron app with electron-builder
I've been wrestling with this all day, it seems like in most cases this is supposed to "just work" but won't for me.
I'm trying to use electron-builder to sign a mac app, on mac. The app ...
0
votes
0
answers
25
views
Electron app with CRA failing child process creation
My project contain a Node server (child) process in Electron app for Windows, which works well in development but fails in production. The project is build using electron-builder and CRA used to ...
0
votes
1
answer
65
views
Vite-electron configuration for own js logic code
I am new to electron-vite with react. My project has a http node server process. All related files are place in server named folder. The vite folder structure is main, renderer and preload. I have ...
0
votes
0
answers
47
views
Error referencing static files with Vue (CLI) in Electron.js
I'm starting to study Electron and lately I've been having problems with static file references after building an application. I've tried a lot of things and none of them have worked.
My project ...
0
votes
0
answers
243
views
How should I configure electron-builder.yml to include arbitrary file in build output?
I am writing electron app which has to use standalone database (sqlite3 but it could be anything else). Database structure (metadata, SQL script or whatever else) is in a text file that I want ...
0
votes
1
answer
405
views
How to include tailwindcss styles in Electron app using electron-builer?
I'm developing a simple electron app. I'm using React with vite for the frontend of the app. After adding tailwindcss to the project the application shows just a white page when built as a production ...
0
votes
1
answer
285
views
Could not find any Python installation to use + node-gyp failed to rebuild when building Electron app
I'm trying to build my Electron APP and I'm getting the following errors:
⨯ Error: Could not find any Python installation to use
...
node-gyp failed to rebuild '...node_modules\@parcel\watcher'
I ...
0
votes
0
answers
154
views
Why does my Electron + React app show "404 Not Found" after production building but works fine in development mode?
I'm working on a project using Electron and React. The app runs perfectly in development mode, but after building it into an .exe or .dmg file, I encounter the following error when launching the ...
0
votes
1
answer
173
views
How to disable svelte-check error in HTML part of Svelte component?
I have a component written in Svelte 5, using $props() rune.
LogActions.svelte
<script lang="ts">
//@ts-expect-error
let { onSave }: { (): void } = $props() ;
</script>
<...
0
votes
0
answers
65
views
Electron Update : Uncaught ReferenceError: global is not defined
We are trying to update node from 12 to 20 and electron version from 11 to 31.
I have an Electron based application. we do webpack in the render process. It throws error when I run the app after ...