Inform RPi users that npm install take a long time
See original GitHub issueWhen I installed MM on my Rpi3 last night, I was quite surprised to see how long it took, without any info at all given to the user while waiting. We live in times of impatience, so when the npm native progress indicator disappeared for almost 8 minutes, after 2 minutes of completing many progress bars, I was getting concerned. Especially given that installing the entire OS only took about half the time.
cd $HOME
git clone https://github.com/MichMich/MagicMirror.git
cd MagicMirror
# Install node dependencies (on Vanilla Stretch)
npm install
...
<eat your nails>
<scratch your balls (or what have you)>
<rip your hair out>
...
added 811 packages in 568.737s
That is almost 8 minutes without any progress bar! Also, a basic MM install, take up: 348 MB (not including any additional OS related installations.)
cd $HOME/MagicMirror/ && du -sh ./
We should put this in the README. I’m sure many (and even technical) users may freak out long before those 10 minutes are up.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
npm install on raspbian takes much time - Stack Overflow
Running the same command on my Windows pc takes maybe 2 or 3 minutes (updating goes way faster of course). Is this normal...
Read more >Broken Packages prevent install - Raspberry Pi Forums
Hi, I'm trying to install npm but it keeps telling me I have broken packages. But I can't seem to locate/fix it.
Read more >Install Nodejs and NPM on Raspberry Pi [Step-by-Step]
Step by step instructions to install nodejs and npm on raspberry pi. 2 different methods to install and configure nodejs and npm on...
Read more >Getting NPM installed on Raspberry Pi (Wheezy Image)
Try installing them all together: sudo apt-get install nodejs npm node-semver.
Read more >systeminformation - npm
Latest version: 5.16.9, last published: 5 days ago. ... simple to use; get detailed information about system, cpu, baseboard, battery, ...
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
Ironic that I was just browsing the issue tracker, I just updated my rpi2 mm install and it took 25+ min! I know npm can be slow (so I was patient), but wow that was a shock.
Or we can run NPM in verbose mode.