Reputation: 599
I am following instructions from as someone suggested on stackoverflow:
After following all the steps when I command
git clone https://github.com/joyent/node.git && cd node
it shows
cloning.....
error: RPC failed; result=56, HTTP code = 100
fatal: The remote end hung up unexpectedly
I am using Ubuntu, terminals, etc. for the very first time. Can you please suggest what to do? Is there any problem with the configuration?
Thanks in advance for bearing such a question...
Upvotes: 1
Views: 4190
Reputation: 600
Here is a step by step instruction on how to install node js in Ubuntu 10.04
http://blog.markmirandilla.com/2012/12/14/how-to-setup-node-js-in-ubuntu-10-04/
Upvotes: 0
Reputation: 6150
As others stated above, what's included in the standard repo is quite old.
The following is a decent solution on Ubuntu 11 or higher:
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
Upvotes: 4
Reputation: 2156
If you are new to using node, I would suggest instead of bothering with git just download the source straight from nodejs.org.
Choose the 0.4.11 branch, its more stable.
From there, follow these directions:
sudo apt-get install libssl-dev (may not be needed, but good idea anyways)
cd *your download dir*
tar xvf node-v0.4.11.tar.gz
cd node-v0.4.11
./configure
make
sudo make install
If that still seems to cause problems, this site allows you to quickly create an install script for node, your mileage may vary with it.
Upvotes: 6
Reputation: 599
People who are getting the same Problem should try to download the zip file and then extract it and install. It solved my problem.
Upvotes: 0
Reputation: 1174
You're on Ubuntu. Is there a reason not to install the package?
sudo apt-get install nodejs
Upvotes: 3