[Pkg-javascript-devel] Bug#687052: npm - error installing redis

Raif S. Naffah self at naffah-raif.name
Sat Sep 8 21:32:03 UTC 2012


Package: npm
Version: 1.1.4

when installing 'redis' (Node.js client for the redis persistent
storage, already successfully installed w/ 'apt-get install redis') a
TypeError is thrown.  transcript follows:

----- begin transcript -----
# npm install -g redis
npm http GET https://registry.npmjs.org/redis
npm http 304 https://registry.npmjs.org/redis
npm http GET https://registry.npmjs.org/hiredis
npm http 304 https://registry.npmjs.org/hiredis

> hiredis at 0.1.14
preinstall /usr/local/lib/node_modules/redis/node_modules/hiredis
> make || gmake


npm ERR! TypeError: options.uid should be a number
npm ERR!     at ChildProcess.spawn (child_process.js:429:26)
npm ERR!     at Object.spawn (child_process.js:342:9)
npm ERR!     at spawn (/usr/share/npm/lib/utils/exec.js:103:22)
npm ERR!     at exec (/usr/share/npm/lib/utils/exec.js:40:12)
npm ERR!     at Array.0 (/usr/share/npm/lib/utils/lifecycle.js:141:5)
npm ERR!     at EventEmitter._tickCallback (node.js:190:39)
npm ERR! You may report this log at:
npm ERR!     <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR!     reportbug --attach /opt/workspace/npod/npm-debug.log npm
npm ERR! 
npm ERR! System Linux 3.2.27+
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "redis"
npm ERR! cwd /opt/workspace/npod
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! message options.uid should be a number
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /opt/workspace/npod/npm-debug.log
npm not ok
----- end transcript -----

the npm-debug.log is attached.

Debian used is:
Linux raspberrypi 3.2.27+ #102 PREEMPT Sat Sep 1 01:00:50 BST 2012
armv6l GNU/Linux

-- 
cheers;
rsn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: npm-debug-20120909.log
Type: text/x-log
Size: 21029 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20120909/7e71130c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20120909/7e71130c/attachment-0001.pgp>


More information about the Pkg-javascript-devel mailing list