question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CLI hangs before packaging begins

See original GitHub issue

I’m trying to package electron-quick-start project in window 10. it can run will in electron( electron . ) but when i try to package the project use command line. there is no any reaction in terminal.

The following is my step

1. git clone https://github.com/electron/electron-quick-start
2. cd electron-quick-start
3. npm install electron -g
4. npm install electron --save-dev
5. npm install electron-prebuilt -g
6. npm install electron-prebuilt --save-dev
7. electron-packager . hello --ignore=node_modules/electron-* --platform=win32 --arch=x64 --version=1.0.2 

My environment is window 10 with company proxy

Is any step I go wrong?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

12reactions
matt-shinecommented, Aug 11, 2017

Just had this issue also, tried reinstalling node, different node versions, etc.

Found it was getting stuck on fs.remove(tempBase, cb) task.

Deleting …\AppData\Local\Temp\electron-packager fixed it.

Edit: Sorry - that actually got me far enough to see it getting stuck on ‘npm prune --production’ command, which led me to https://github.com/npm/npm/issues/17781.

So, for me, it was an issue with npm v5.3.0, downgrading to 5.2.0 seems to have fixed things for me.

1reaction
bampakoacommented, Aug 24, 2016

@babyChou I had the same problem and I experimented by installing all versions of electron-packager after 7.4.0. After that, I gave one more try with 7.7.0 and it worked. I never figured out why it worked like that. I hope this helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CLI hangs before packaging begins · Issue #470 · electron ...
I'm trying to package electron-quick-start project in window 10. it can run will in electron( ... CLI hangs before packaging begins #470.
Read more >
Angular2 cli hangs while creating a new app - Stack Overflow
I was having the same issue. I resolved by using yarn. Follow below steps. Install yarn through npm using the below command. npm...
Read more >
DTEXEC Intermittent Hanging before package starts.
A job with a command line step then a DTEXEC step will run the command line step fine then hang on the DTEXEC...
Read more >
Tips for using the Azure CLI successfully - Microsoft Learn
First choose the right command-line tool and install the Azure CLI. Then use this article to discover useful tips on how to avoid...
Read more >
Azure CLI Installation on Linux - Cytron Technologies
Install Azure CLI with apt¶. If you are running a distribution that comes with apt , such as Ubuntu or Debian, there's an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found