isaacs/npm — Issue #1636: Crash during npm building
Author: pyrsmk
Created: 2011-11-01 19:41:21+00:00
State: open

Hi ;)

npm building crash on Gentoo Linux with:

+node ./bin/npm.js config set "prefix=/usr"
+node ./bin/npm.js config set "build=i686-pc-linux-gnu"
+node ./bin/npm.js config set "host=i686-pc-linux-gnu"
+node ./bin/npm.js config set "mandir=/usr/share/man"
+node ./bin/npm.js config set "infodir=/usr/share/info"
+node ./bin/npm.js config set "datadir=/usr/share"
+node ./bin/npm.js config set "sysconfdir=/etc"
+node ./bin/npm.js config set "localstatedir=/var/lib"
+node ./bin/npm.js config set "prefix=/var/tmp/portage/sys-apps/npm-1.0.26/image//usr"

+node ./bin/npm.js config ls

npm ERR! prefix directory not found
npm ERR! Error: ENOENT, No such file or directory '/var/tmp/portage/sys-apps/npm-1.0.26/image/usr'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 3.0.7-tuxonice
npm ERR! command "node" "/var/tmp/portage/sys-apps/npm-1.0.26/work/npm-1.0.26/bin/npm.js" "config" "ls"
npm ERR! cwd /var/tmp/portage/sys-apps/npm-1.0.26/work/npm-1.0.26
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.26
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/tmp/portage/sys-apps/npm-1.0.26/work/npm-1.0.26/npm-debug.log
npm not ok