Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

346
Vistas
Electron packager not packaging the app, without any error

I am trying to package the app with Electron packager for the Linux platform but the packaging is not happening. The app is not getting built at all. It was working fine when the node version was v11.15.0. Earlier I was using the older MacBook where it was working. Currently, I am using a MacBook pro M1 and my node version is v15.3.0.

Package.json-

"scripts": {
    "ng": "ng",
    "start": "ng serve --proxy-config proxy.conf.json",
    "build": "ng build --prod",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "electron": "ng build --base-href ./ && electron .",
    "package-linux": "electron-packager . myapp --overwrite --asar --platform=linux --arch=x64 --icon=src/assets/images/logos/logo-72x72.png --prune=true --out=release-builds"
},
"devDependencies": {
   "@angular-devkit/build-angular": "^0.13.8",
   "@angular/cli": "~7.0.6",
   "@angular/compiler-cli": "^7.2.7",
   "@angular/language-service": "~7.0.0",
   "@types/jasmine": "~2.8.8",
   "@types/jasminewd2": "~2.0.3",
   "@types/node": "^8.10.43",
   "codelyzer": "~4.5.0",
   "electron": "^15.3.0",
   "electron-packager": "^15.4.0",
   "typescript": "~3.1.6"
}

This is the command I am using -

electron-packager . myapp --asar --platform=linux --arch=x64 --icon=src/assets/images/logos/logo-72x72.png --prune=true --out=release-builds

My terminal log after running this command -

> Packaging app for platform linux x64 using electron v15.3.0

and then the process is terminated.

Earlier it was (When it was working) -

> Packaging app for platform linux x64 using electron v15.3.0
> Wrote new app to release-builds/myapp-linux-x64

Wine is also installed. If I remove "--asar" from the command then it is getting packaged but the size of the app is going to be 650 MB which I don't want, but with "--asar" the process is not moving forward. Earlier it was only 280 MB. Any error is also not occurring. Not sure why it is behaving this way. Can someone help me?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda