Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion npm 1.0 RC
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kuno  
View profile  
 More options Mar 22 2011, 2:49 am
From: kuno <neok...@gmail.com>
Date: Mon, 21 Mar 2011 23:49:47 -0700 (PDT)
Local: Tues, Mar 22 2011 2:49 am
Subject: Re: npm 1.0 RC

On Mar 22, 12:22 pm, Isaac Schlueter <i...@izs.me> wrote:

> npm config set prefix /home/kuno/pkg

> Then global installs will put packages in
> /home/kuno/pkg/lib/node_modules.  Bins will go in /home/kuno/pkg/bin.
> Man pages will go in /home/kuno/pkg/share/man.

> If you just want to install locally in that folder, then simply
> cd /home/kuno/pkg and then `npm install whatever` and it'll be
> installed in that folder.

> --i

> On Mon, Mar 21, 2011 at 18:43, kuno <neok...@gmail.com> wrote:
> > hi isaac:
> > My problem is how to tell npm 1.x to install under a specific folder,
> > says that I have a directory /home/kuno/pkg, and I want  intall npm
> > under /home/kuno/pkg/node_module, the executable file under the /home/
> > kuno/pkg/bin direcotry.

> > This is a common problem for a linux package maintainer, and the old
> > npm works quite well by setting the three root, but what's goint on in
> > npm 1.x?

I try node package/cli.js config set prefix /home/kuno/pkg and
       export npm_config_prefix=/home/kuno/pkg
but after all those the files didn't go to the right place.
The npm package has been installed under /home/kuno/pkg/lib/
node_modules and no executable files.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.