Problem with installing node.js using zypper

I am trying to install node.js using zypper. I have Opensuse 12.1.

Zypper seems to have problem with installing any application in my system. I have set a valid proxy server value as follows:

$HTTP_PROXY = http://singuvi:<pwd>@<proxy name>:8080

But Zypper fails to install any application. For example adding repo for node using the following command returns the following error message:

sudo zypper addrepo http://download.opensuse.org/repositories/devel:languages:nodejs/SLE_12_SP1/devel:languages:nodejs.repo

Timeout exceeded when accessing ‘http://download.opensuse.org/repositories/devel:languages:nodejs/SLE_12_SP1/devel:languages:nodejs.repo’.

Is there some other setting that i need to make for the proxy for the zypper to work.

I would appreciate if there is any other way to install node.js in the system. I have tried installing from binary package nodejs-6.3.0-113.1.x86_64.rpm but it only install node but not the npm.

Please help!

I am not quite understanding what you are trying to do.

You say you have openSUSE 12.1, but the repo is for SLE 12 SP1.

On openSUSE 12.1: That is way out of support and while it may be possible to find the OSS and non-OSS repos for it, it might be more difficult to find other repos that where available at that time.

On SLE 12 SP1: You re at the wrong forums. These are the openSUSE forums, not the SLES/SLED forums. Those are at https://forums.suse.com/forum.php (same username/password as here).

So please find out what you have on that system e.g. using

cat /etc/SuSE-release

and then ask at the correct forums, while not mixing repos from a different version.

Thank you for your response. I have SUSE linux enterprise server. Will redirect the question in Suse forums. Sorry for the trouble

More than likely the SLES repo for nodejs will be similar to the URI for the opensSUSE repos.

See my instructional for openSUSE
https://en.opensuse.org/User:Tsu2/nodejs

TSU