0

it is possible that this question is repeated, but it is possible that I had tried all solutions offered (or... that is what i think).

The case is that I am trying to install a phoenix framework (to tinker a little) and it is recommended install all dependencies that uses, and it uses npm for many of them, and when I make npm install, the process works fine until a line that throws this: npm http 404 https://registry.npmjs.org/phoenix_html and after all is a total disaster!!

SOLUTION IS UPDATE NPM AND NODE
The answer for this question is solved here. Jose Valim answers that he is using the npm v3.5.2 and node v5.3.0. The problem is that I tried a lot of things, for example I remove and purge node and npm, update and upgrade apt-get and after I install them again and my versions are nodejs v0.10.25 and npm v1.3.10. That is far from 5.3.0 and 3.5.2

MY LAST TRYING I tried to make npm install -g npm and qhat I got was this:

npm http GET https://registry.npmjs.org/npm
npm http 200 https://registry.npmjs.org/npm
npm http GET https://registry.npmjs.org/npm/-/npm-3.9.2.tgz
npm http 200 https://registry.npmjs.org/npm/-/npm-3.9.2.tgz
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
npm@3.9.2 /usr/local/lib/node_modules/npm

It seems as if I get the v3.9.2, but if I do npm -v I get 1.3.10.

Thank you very much.

Eloy Fernández Franco
  • 1,350
  • 1
  • 24
  • 47

1 Answers1

0

Download one of these here and replace your current nodejs installation with the current build If you specifically want 5.3.0 you should be able to get that from GIT somehow.

Go to the nodejs site and do a source installation from one of the available versions is the easiest form I can say it in.

See the script of this link

Community
  • 1
  • 1
selten98
  • 821
  • 4
  • 15