CLI hangs before packaging begins
See original GitHub issueI’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:
- Created 7 years ago
- Comments:12 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
@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.