Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

build: add 'no npm' install target #2200

Closed
bnoordhuis opened this Issue · 6 comments

4 participants

@rmustacc
Owner

Shouldn't installing the bundled npm only be the default on Windows similar to OpenSSL?

@rmg

It saves a step when setting up a new development environment on any type of system, which I found immediately useful.

Might make sense to make the default install target "smart" to only install npm if it isn't already installed and then have a mechanism for forcing the decision in either direction.

Another solution is to have a separate target that wraps 'curl http://npmjs.org/install.sh | sh' called install-npm and mention it in the build instructions and possibly at the end of 'make install'.

@isaacs
Owner

I think that this should be a ./configure --without-npm option.

@rmustacc
Owner

Since the previous default was not there, I guess I'd rather see it be --with-npm. Similar to how we don't default to installing the bundled OpenSSL or zlib libraries.

@isaacs isaacs referenced this issue in Homebrew/homebrew
Closed

Update node to 0.6.3 #8784

@isaacs
Owner

@rmustacc Well, sure, but we want to have npm installed by default when you do ./configure && make && sudo make install.

@bnoordhuis

Fixed in 3ca0517.

@alexkwolfe alexkwolfe referenced this issue from a commit in alexkwolfe/node
@bnoordhuis bnoordhuis build: add --without-npm flag to configure script
Fixes #2200.
38a2609
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.