Questions tagged [electron-packager]

Use electron-packager for questions related to the packaging module for Electron apps

References

493 questions
2
votes
0 answers

Electron App (React) POST net::ERR_FILE_NOT_FOUND

I've run into an issue where when I run electron-package on my app and run the built app, when I try to access a route besides the default route I get a net::ERR_FILE_NOT_FOUND. I have a login page and when I try clicking log in I get: POST…
2
votes
0 answers

electron-builder and robotjs rebuild issues

I have an electron project using robotjs. I am trying to build it using electron-builder on OSX catalina 10.15.7, however, I am running into issues when it comes to generating a distribution build. If I switch over to electron-forge, everything…
2
votes
1 answer

How to reduce electron apps size

My electron application is insanely big on Mac after installation. It's around 1.39GB for no apparent reason, even though it's around 70MB on Windows. I tried to unpack the dmg file to see what makes it so big then found a file called app.asar that…
2
votes
0 answers

The command electron-installer-windows --src dist/app-win32-x64/ --dest dist/installers/ does not finish execution

#Angular + Electron + electron-installer-windows + electron-packager I have angular project from which I want to generate a windows package that can be installed by users. After having followed all the guide in electron-installer-windows, I cannot…
7guyo
  • 3,047
  • 1
  • 30
  • 31
2
votes
1 answer

Spooling problem when sending a print job to a printer via an Electron App on Windows 7

I've got an Electron Application which I'm compiling to a windows .exe via electron-packager . --platform=win32 --arch=ia32 --overwrite The problem I'm facing is when the application, running on Windows 7, sends a print job to a Xerox printer, the…
2
votes
0 answers

is it possible to make a combined installer for an electron app and a python?

I have an electron application. my app is using python for her living. by using electron-packager and then electron-installer-windows by the tutorial in https://github.com/electron-userland/electron-installer-windows i made .exe(portable version)…
2
votes
0 answers

electron builder fails due to wrong dir path

I am building a electron app in github actions... This works fine: electron-builder --x64 --publish never But this don't: electron-builder --x64 Build fails • electron-builder version=22.7.0 os=5.4.0-1020-azure • loaded configuration …
2
votes
1 answer

Issue Building Electron App with Opencv4nodejs on Windows 10

I have built an electron app that uses tensorflow and opencv4nodejs. The app works well when I use npm start. However, when I try to build my app, it bombs out with the following error: The issue here is that I have not built the opencv4nodejs…
2
votes
1 answer

Electron App is not running after being packaged

I tried packaging a simple ElectronJS app i created using electron-builder and electron-packager which resulted in a file that is not runnable. when i click on the icon of the app, nothing happens, no errors and no running. App is running fine…
Ali123
  • 740
  • 13
  • 38
2
votes
1 answer

How to create installer for docker and electron together?

I have an electron app that calls some APIs on my docker image. Now I want to publish my application so How can I make an installer that installs Docker, pulls the docker image and install the electron app for the user?
2
votes
1 answer

How to take screenshot using electronjs?

I'm building a cross-platform desktop application. I'm using electronjs framework for my desktop app development.And I want to add a functionality of taking screenshot every 5 minutes when my app starts! help will be appreciated my main.js //…
sachin murali
  • 469
  • 2
  • 7
  • 22
2
votes
1 answer

How can I compile an electron app on a Windows environment to run on Raspberry PI?

I've created an electron app on my Windows 10 computer. I've used electron-packager to package the app for linux using the armv7l architecture (Raspberry Pi 4). However, when I run it on the PI, it outputs an "invalid ELF header" error. I understand…
2
votes
2 answers

Electron-packager returning "Response code 404 (Not Found)" when trying to compile electron project to .exe using CMD on Windows 10

I am a beginner developer, just familiarising myself with electron and node.js. I am trying to convert my electron project into a .exe file using the electron-packager package, but every time I attempt it returns this error: Response code 404 (Not…
user12971631
2
votes
1 answer

regEx to ignore build and dist directories at top level of project?

This is a very basic question but I've been struggling with it for a while. I'm trying to ignore the build and dist folders at the top level of my project. I've read the electron packager docs for ignore but regex just eludes me. I saw this earlier…
spring
  • 18,009
  • 15
  • 80
  • 160
2
votes
0 answers

Electron 7 fails to build native modules

I'm building an electron app that is running native modules. I upgraded to Electron 7 but since then I'm getting the following error when I'm building the app using electron-forge. I also upgraded my node version to 12.8.1. In order to load native…
Rani
  • 6,424
  • 1
  • 23
  • 31