Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

337
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!