N
N
Nebuhad2014-05-27 22:46:23
Node.js
Nebuhad, 2014-05-27 22:46:23

Does npm install slow you down under ubuntu?

When I install any package for node (npm install ember-cli -g, for example), globally or locally, the installation is very slow, I checked ubuntu 12.04 and 14.04. On windows, running npm on the Node.js command prompt is an order of magnitude faster. It seems that in ubuntu he stupidly slowly downloads packages.
Has anyone encountered such a problem? Googling doesn't help here.
ps of the negative also add dancing around the permissions for the directories that node uses in ubuntu, so that anything at all can be installed globally.
Numbers:
npm install -g express
ubuntu 14.04 - 3 minutes
Windows 7 - 12 seconds
ubuntu on a virtual machine 6 minutes
npm install -g ember-cli
ubuntu 14.04 - 11 minutes
Windows 7 - 1 minute
ubuntu on a virtual machine - I don’t even want to check.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
halfcupgreentea, 2014-06-22
@halfcupgreentea

There is obviously something wrong with your network in Ubuntu. Just try to measure the connection speed in both systems?

A
Alexander Reshetnyak, 2015-04-16
@Vampireos

perhaps magic in the terminal, something will change
by default it seems to be dragging throughhttps

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question