Questions tagged [electron-packager]

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

References

493 questions
3
votes
0 answers

Failed to Notarize (Code sign) Electron Node.js app on MacOs

I tried to notarize (Code sign) Electron Node.js app using Electron forge to submit it to Mac App Store (MAS) by following the option Using an app-specific password mentioned in Electron forge official guide, but encountering error - "Failed to…
3
votes
2 answers

Error: Failed with exit code: 1 when try to "npm run make"

I am currently trying to create the executable via this command "npm run make" except that it shows me the error : ` ✖ Making for target: squirrel - On platform: win32 - For arch: x64 An unhandled error has occurred inside Forge: An error occured…
Seji
  • 101
  • 6
3
votes
0 answers

Electron window crashing on ubuntu 18, 20 for showOpenDialogSync or showOpenDialog

Electron (version 7.x) window crashing on ubuntu 18, 20 for showOpenDialogSync or showOpenDialog Below is my code directorySelection = e => { const { onCustomPathUpdate } = this.props; const remote =…
pareshm
  • 4,874
  • 5
  • 35
  • 53
3
votes
1 answer

Icon not changing in the file location electron

I used electron and I made my first calculator app. I packaged the app using electron-packager. So now after doing this I tried to set an icon. However, it is showing in the start menu but not in the file location. Please check the below pics and…
3
votes
1 answer

Change package.json file dependency on the basis of production and development

I want to change my electron version in package.json file on the basis of the production and development stage. If my project in the development phase then it will take electron 11.2.0 version and in production my electron version must be electron…
3
votes
0 answers

How to make react project exe with electron.js

I am trying to make the exe file of my reactjs project with the help of electron.js but i am nota able to create that, its just showing white screen after creation. Any idea, how to do that. My package.json { "name": "demo", "version": "0.1.0", …
3
votes
0 answers

how to include a readme file electron?

How can I add a file, like README.md, into the root directory of a electron application? I'm using electron-packager, so I'd like to stick with that. The file sits in my project root, and contains the release notes. I want the users to also see the…
Sebastian Schmid
  • 589
  • 5
  • 10
3
votes
0 answers

ECONNRESET Error while using electron-packager

The following error is showing up when i am using electron-packager to pack the application for windows. read ECONNRESET npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! u2_projector@1.0.0 package-win: `electron-packager . --overwrite…
vithu shaji
  • 339
  • 3
  • 14
3
votes
1 answer

How do I put my Electron app in production mode

I have tried both builder and packager, after building the top menu is available which allows access to developer tools..how do I get rid of it?
3
votes
0 answers

electron-packager - exclude ffmpeg from final build

I am working on electron windows desktop app. I would like to make my build little bit smaller. I noticed that electron-packager add ffmpeg and other files into final build, my question is, is there possibility to make build without ffmpeg possibly…
TomRavn
  • 1,134
  • 14
  • 30
3
votes
0 answers

Packaging a python script with an Electron.js App

I'm new to Electron and I have built this calculator app using electron.js and python. The way in which the app works is that whenever the '=' button is clicked in the UI , the electron app sends the equation to a python script which computes and…
Wadu Hek
  • 33
  • 6
3
votes
2 answers

Can I use Electron without node.js

Im new to Javascript so I would like to keep it at the bare minimum. Is there a way that I can use the Electron to communicate with python script without having node.js? My app is just a basic app that takes some input from users from a html page…
user13494862
3
votes
1 answer

Electron app size is 450 mb for linux and 238 mb for windows, how to reduce it with respect to visual studio code

I have built an electron app and packaged it using electron packager. I made windows bundle of 238MB and linux version is 450 MB. I compare this with visual studio code which is also electron app. They have relatively very low file size of 50 MB for…
karansys
  • 2,449
  • 7
  • 40
  • 78
3
votes
1 answer

electron: how to test a MAS package before submitting to the apple store?

After a lot of pains and tribulations I managed to build my app using Electron 7 and electron-packager. All works fine when I create a local .app and also when I run npm start. Now the MAS generation is fine but I can't run the APP. I suspect that…
devnull
  • 2,752
  • 1
  • 21
  • 38
3
votes
0 answers

Problem with distributing Electron app manually and with Electron-packager

This is my first StackOverflow question and my first Electron + ReactJS + Webpack project. After a week of search I am desperate enough to ask for help here. So kudos for anyone that can be of help. My app works ok in development environment, but I…