Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

brew install node stuck at `make install`

I am trying to install node using brew but it gets stuck at make install and does nothing. I am using ubunutu 14.04. Here is the logs from the terminal:

==> Downloading https://nodejs.org/dist/v4.2.1/node-v4.2.1.tar.gz Already downloaded: /home/tsepak33/.cache/Homebrew/node-4.2.1.tar.gz ==> Downloading https://ssl.icu-project.org/files/icu4c/56.1/icu4c-56_1-src.tgz Already downloaded: /home/tsepak33/.cache/Homebrew/node--icu4c-56.1.tgz ==> ./configure --prefix=/home/tsepak33/.linuxbrew/Cellar/node/4.2.1 --without-n ==> make install 

I aso tried with brew reinstall node, but nothing works.

like image 336
Vivek V Dwivedi Avatar asked Nov 01 '15 10:11

Vivek V Dwivedi


People also ask

How long does brew install node take?

The make install step takes about 20-25 minutes.

How long does Homebrew take to install?

On a 1 Mbps Internet connection, installing Homebrew would, in theory, take about ~1 hour.

How long does it take to install node on Mac?

Installing node takes up to 8 minutes.

Do I need to restart my PC after installing Nodejs?

Then I wish to use the package, do i need to restart nodejs? If yes, why? Not sure if i understand your question. You will need to modify your code to make use of the new module... so yes, you have to restart that particular node process.


1 Answers

I had the same problem. Eventually, I understood that I didn't wait enough time.

To prove that this is the problem, just run it with the -v switch

brew install -v node 

The make install step takes about 20-25 minutes.

like image 92
Itai Agmon Avatar answered Sep 26 '22 10:09

Itai Agmon