Giter Site home page Giter Site logo

Comments (7)

merrells avatar merrells commented on May 8, 2024

I find that happens when the build succeeds because it is already built. It returns fail, rather than building npm

'build' finished successfully (0.140s)
nvm: install v0.4.9 failed!

from nvm.

creationix avatar creationix commented on May 8, 2024

Right, it's a feature to share the already installed system npm if there is one per Isaac's suggestion. Is this a problem?

from nvm.

merrells avatar merrells commented on May 8, 2024

It causes nvm to bail out before installing npm, so an interrupted build means that you get node but not npm.

from nvm.

kriswill avatar kriswill commented on May 8, 2024

Now using node v0.4.10
Installing npm...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3927 100 3927 0 0 3223 0 0:00:01 0:00:01 --:--:-- 34752
fetching: 1:http://registry.npmjs.org/npm/-/npm-1.0.26.tgz

gzip: stdin: unexpected end of file
npm-install-55169.sh: line 92: cd: *: No such file or directory

It failed

not sure if this is related, but nvm is failing to install npm, even when it's not installed to /usr/local/bin or any other place. could this be a hosting problem for the npm download?

from nvm.

kriswill avatar kriswill commented on May 8, 2024

Yup same issue with:
$ curl http://npmjs.org/install.sh | sh

from nvm.

jokeyrhyme avatar jokeyrhyme commented on May 8, 2024

I made a separate issue for explicitly controlling whether NPM should be installed or not:
#123

from nvm.

ljharb avatar ljharb commented on May 8, 2024

This is related to using 0.4, which didn't include npm like 0.6 and later do. Node 0.4 is very old - please upgrade to 0.8 or 0.10 asap.

from nvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.