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-packager is generating correct .app file Electron-Builder is showing blank screen

I was using electron-packager to generate .app file from my Angular-Electron app and then electron-installer-dmg to generate installable .dmg file from .app. But I have to add Notarizing to my app which I could not figure out how to do with…
2
votes
0 answers

running minify on electron app before electron packager

I have an electron app and use electron-packager for creating an executable that is used for a couple of days when the app is used. In my package.json it looks like this: { "name": "Software", "version": "0.1.0", "main":…
Torf
  • 1,154
  • 11
  • 29
2
votes
0 answers

My nodejs electron packager say warning error

shoppinglist@1.0.0 package-win E:\NodeJs\ShoppingList electron-packager . electron-tutorial-app --overwrite --asar --platform=win32 --arch=ia32 --icon=assets/icons/win/icon.ico --prune=true --out=release-builds --version-string.CompanyName=CE…
2
votes
0 answers

Packaged .net-core electron app does not run

I am trying to create an electron app using .net-core. It is working good in all steps and there are no errors when I test and debug the apps at all. But unfortunately, when I am packaging the app using electron-packager, I get this error when…
2
votes
1 answer

How do I use pug with electron-vue?

I built a new electron-Vue application and installed the pug and pug-plain-loader packages. When I run the application, I am getting an error in the console: "Errors compiling template: Component template requires a root element, rather than just…
pixellini
  • 21
  • 2
2
votes
0 answers

How can I deploy an Electron app served by a local Django server?

I'm creating an electron app, which upon start spawns a local Django server child process (to serve as backend processing). In my development environment, the electron app runs properly when I run npm start Although, when trying to deploy my…
Andrew
  • 21
  • 1
2
votes
1 answer

Env vars to change app name in project.json and set runtime vars?

I need to generate two apps from the same codebase (e.g. "pro" and "lite" versions). There are a lot of questions here about this but none I found involve node or electron. I have only used env in development in very simple ways and after searching…
spring
  • 18,009
  • 15
  • 80
  • 160
2
votes
0 answers

Getting ELIFECYCLE ERR! 1 ( errno 1), while running npm run electron

I am getting Below error while running the electron command The application window is open for a fraction of seconds and closing it. I don't know what happening here npm ERR! errno 1 npm ERR! bullet-bot@1.14.4 electron: `electron .` npm ERR! Exit…
2
votes
1 answer

How to make an installer out of my electron app similar to vscode installation setup?

I'm trying to make an installation setup for my electron app. I've tried electron builder and electron packager, it worked but not what I hoped for. I wanted to have a installation set up similar to vscode (which I've heard was made using…
2
votes
0 answers

How to launch Electron JS build on Linux?

I am trying to launch my ElectronJS app on Linux but impossible to get there. This is my build process : On Windows, I building the app for Linux with electron-packager, for amd64 arch. I copy the folder generated on my Ubuntu machine and I create…
Loïc
  • 33
  • 5
2
votes
2 answers

how to create exe package of angular electron app

I have developed an app in angular 6. I am trying to make .exe build using electron. When I am making an electron build in the dev environment which is working fine but now I want to release a package for windows I have installed electron packager…
lakhan
  • 255
  • 7
  • 14
2
votes
1 answer

Blank screen when running Electron package app - How to debug?

I successfully packaged and ran an Electron project (desktop chat app) using the Electron Packager with no errors. However, I'm just getting a blank window on launch without the username form that was coded into the app. I'm not sure where to turn…
pfbarnet
  • 101
  • 10
2
votes
0 answers

I want to don't build one specific directory of my Electron app packaged with electron-packager

i am working on an Code Editor as a web app thanks to Electron. My problem is short: When I build my app with electron-packager all my web folders and files goes to the file called "app.asar". But i want to have an exception for my folder called…
Marc Espín
  • 31
  • 2
  • 7
2
votes
1 answer

Why electron-osx-sign fails to produce a signed app recognised by Gatekeeper?

I'm trying to sign the stock electron app. Below is the script that I'm using. The issue is that gatekeeper complains that the app ("Electron") can’t be opened because the identity of the developer cannot be confirmed. Why is that? #!/bin/bash set…
2
votes
1 answer

Electron login helper won't work - "Process is not in an inherited sandbox"

I'm trying to get my Electron Mac app to start at login, but I can't get it to work. I'm implementing the start at login functionality from Electron's API (https://electronjs.org/docs/all#appsetloginitemsettingssettings-macos-windows) and that part…