Your message dated Mon, 30 Dec 2013 12:07:35 +0100
with message-id <52c153f7.7070...@melix.org>
and subject line Re: Bug#688895:  npm prefix changes depending on the user
has caused the Debian Bug report #688895,
regarding npm prefix changes depending on the user
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
688895: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688895
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: npm
Version: 1.1.4~dfsg-2
Severity: normal

Short summary:

$ npm -g get prefix
/usr
$ sudo npm -g get prefix
/usr/local

I've tried to investigate what's going on, but have gotten lost in the maze of
npm configuration files. I suspect that the tweak that Debian's done to split
the prefix where npm is installed from the prefix where npm installs packages
isn't quite working right.

This is making impossible for a script I'm trying to write to determine where
the global modules are installed.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages npm depends on:
ii  node-abbrev       1.0.3-1
ii  node-fstream      0.1.13-1
ii  node-graceful-fs  1.1.8-1
ii  node-ini          1.0.2-1
ii  node-minimatch    0.2.0-1
ii  node-mkdirp       0.3.1-2
ii  node-node-uuid    1.3.3-1
ii  node-nopt         1.0.10-2
ii  node-request      2.9.153-1
ii  node-rimraf       2.0.1-1
ii  node-semver       1.0.13-2
ii  node-tar          0.1.13-1
ii  node-which        1.0.5-1
ii  nodejs            0.6.19~dfsg1-5
ii  nodejs-dev        0.6.19~dfsg1-5

npm recommends no packages.

Versions of packages npm suggests:
ii  build-essential  11.5

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi,
in npm 1.3.10~dfsg-1 the two commands give identical result (/usr/local).

As a side note: there are two "global" places for nodejs modules:
* /usr/local, where globally-installed modules installed by npm go by default
* /usr/lib/nodejs, where debian-packaged modules go

Regards,
Jérémy.

--- End Message ---
_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to