Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

npm fails to install on ubuntu 9.10 #1685

Closed
esterhuizen opened this Issue · 2 comments

2 participants

Tielman isaacs
Tielman

root@crank:~/src# uname -a
Linux crank 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 13:35:30 EST 2010 x86_64 GNU/Linux
root@crank:~/src# cat /etc/issue
Ubuntu 9.10 \n \l

root@crank:~/src# curl http://npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
101 7184 101 7184 0 0 8362 0 --:--:-- --:--:-- --:--:-- 17104
tar=/bin/tar
version:
tar (GNU tar) 1.22
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
fetching: http://registry.npmjs.org/npm/-/npm-1.0.105.tgz
0.6.0
1.0.105
cleanup prefix=/usr/local

All clean!
npm ERR! Error: ENOSYS spawn
npm ERR! at errnoException (child_process.js:476:11)
npm ERR! at ChildProcess.spawn (child_process.js:443:11)
npm ERR! at Object.spawn (child_process.js:341:9)
npm ERR! at spawn (/tmp/npm.30004/package/lib/utils/exec.js:103:22)
npm ERR! at exec (/tmp/npm.30004/package/lib/utils/exec.js:40:12)
npm ERR! at uidNumber (/tmp/npm.30004/package/lib/utils/uid-number.js:34:10)
npm ERR! at loadUid (/tmp/npm.30004/package/lib/npm.js:347:5)
npm ERR! at /tmp/npm.30004/package/lib/npm.js:289:7
npm ERR! at cb (/tmp/npm.30004/package/lib/utils/ini.js:77:5)
npm ERR! at /tmp/npm.30004/package/lib/utils/ini.js:113:3
npm ERR! Report this entire log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR!
npm ERR! System Linux 2.6.18-194.26.1.el5xen
npm ERR! command "/usr/local/bin/node" "/tmp/npm.30004/package/cli.js" "rm" "npm" "-gf"
npm ERR! cwd /tmp/npm.30004/package
npm ERR! node -v v0.6.0
npm ERR! npm -v 1.0.105
npm ERR! code spawn
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/npm.30004/package/npm-debug.log
npm not ok
npm ERR! Error: ENOSYS spawn
npm ERR! at errnoException (child_process.js:476:11)
npm ERR! at ChildProcess.spawn (child_process.js:443:11)
npm ERR! at Object.spawn (child_process.js:341:9)
npm ERR! at spawn (/tmp/npm.30004/package/lib/utils/exec.js:103:22)
npm ERR! at exec (/tmp/npm.30004/package/lib/utils/exec.js:40:12)
npm ERR! at uidNumber (/tmp/npm.30004/package/lib/utils/uid-number.js:34:10)
npm ERR! at loadUid (/tmp/npm.30004/package/lib/npm.js:347:5)
npm ERR! at /tmp/npm.30004/package/lib/npm.js:289:7
npm ERR! at cb (/tmp/npm.30004/package/lib/utils/ini.js:77:5)
npm ERR! at /tmp/npm.30004/package/lib/utils/ini.js:113:3
npm ERR! Report this entire log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR!
npm ERR! System Linux 2.6.18-194.26.1.el5xen
npm ERR! command "/usr/local/bin/node" "/tmp/npm.30004/package/cli.js" "install" "-gf"
npm ERR! cwd /tmp/npm.30004/package
npm ERR! node -v v0.6.0
npm ERR! npm -v 1.0.105
npm ERR! code spawn
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/npm.30004/package/npm-debug.log
npm not ok
It worked

Log file unfortunately doesn't exist:

root@crank:~/src# ls -ltr /tmp/npm.30004/package/npm-debug.log
ls: cannot access /tmp/npm.30004/package/npm-debug.log: No such file or directory

root@crank:~/src# node -v
v0.6.0

isaacs
Owner

What's up with the ENOSYS from child_process.spawn? How did you install node, and why doesn't it support child process spawning?

isaacs isaacs closed this
Tielman
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.