Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

338
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda