Hey everyone,
I tried to "npm install tty.js" in a directory as both a normal user and privileged user. I received this error: (System below)
$ sudo npm install tty.js
npm http GET https://registry.npmjs.org/tty.js
npm http 304 https://registry.npmjs.org/tty.js
npm http GET https://registry.npmjs.org/express/3.0.0beta4
npm http GET https://registry.npmjs.org/socket.io/0.9.6
npm http GET https://registry.npmjs.org/pty.js/0.1.2
npm http 304 https://registry.npmjs.org/socket.io/0.9.6
npm http 304 https://registry.npmjs.org/pty.js/0.1.2
npm http 304 https://registry.npmjs.org/express/3.0.0beta4
[email protected] preinstall /home/chason/public_html/shell/node_modules/tty.js/node_modules/pty.js
node-waf clean || (exit 0); node-waf configure build
sh: node-waf: command not found
sh: node-waf: command not found
npm ERR! error installing [email protected]
npm ERR! error installing [email protected]
npm ERR! error rolling back [email protected] Error: ENOTEMPTY, rmdir '/home/chason/public_html/shell/node_modules/tty.js/node_modules/___express.npm/package/lib'
npm ERR! [email protected] preinstall: node-waf clean || (exit 0); node-waf configure build
npm ERR! sh "-c" "node-waf clean || (exit 0); node-waf configure build"
failed with 127
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || (exit 0); node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls pty.js
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.18-308.4.1.el5
npm ERR! command "node" "/usr/bin/npm" "install" "tty.js"
npm ERR! cwd /home/chason/public_html/shell
npm ERR! node -v v0.6.18
npm ERR! npm -v 1.1.1
npm ERR! code ELIFECYCLE
npm ERR! message [email protected] preinstall: node-waf clean || (exit 0); node-waf configure build
npm ERR! message sh "-c" "node-waf clean || (exit 0); node-waf configure build"
failed with 127
npm ERR! errno {}
npm ERR! error installing [email protected]
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/chason/public_html/shell/npm-debug.log
npm not ok
========================= npm-debug.log ==============================
info it worked if it ends with ok
verbose cli [ 'node', '/usr/bin/npm', 'install', 'tty.js' ]
info using [email protected]
info using [email protected]
verbose /usr/bin/node node symlink
verbose config file /home/chason/.npmrc
verbose config file /usr/etc/npmrc
verbose config file /usr/lib/node_modules/npm/npmrc
verbose cache add [ 'tty.js', null ]
silly cache add: name, spec, args [ undefined, 'tty.js', [ 'tty.js', null ] ]
verbose parsed url { pathname: 'tty.js', path: 'tty.js', href: 'tty.js' }
verbose addNamed [ 'tty.js', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'tty.js', '', false ]
verbose raw, before any munging tty.js
verbose url resolving [ 'https://registry.npmjs.org/', './tty.js' ]
verbose url resolved https://registry.npmjs.org/tty.js
verbose etag "7JZVEKQKTVHT7NLWQOCE4E3TV"
http GET https://registry.npmjs.org/tty.js
http 304 https://registry.npmjs.org/tty.js
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb etag: '"7JZVEKQKTVHT7NLWQOCE4E3TV"',
silly get cb date: 'Fri, 06 Jul 2012 04:22:58 GMT',
silly get cb 'content-length': '0' } ]
verbose etag tty.js from cache
silly name, range, hasData 2 [ 'tty.js', '', true ]
silly versions [ 'tty.js',
silly versions [ '0.0.1',
silly versions '0.0.2',
silly versions '0.0.3',
silly versions '0.0.4',
silly versions '0.0.4-1',
silly versions '0.0.5',
silly versions '0.0.6',
silly versions '0.0.7',
silly versions '0.0.8',
silly versions '0.0.9',
silly versions '0.1.0',
silly versions '0.1.1',
silly versions '0.1.2',
silly versions '0.1.3',
silly versions '0.1.4',
silly versions '0.1.5',
silly versions '0.1.5-1',
silly versions '0.1.5-2',
silly versions '0.1.6',
silly versions '0.1.7',
silly versions '0.1.8',
silly versions '0.1.8-1',
silly versions '0.1.9',
silly versions '0.2.0',
silly versions '0.2.5',
silly versions '0.2.6',
silly versions '0.2.7' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8e-fips-rhel5-v83.6.6.25-linux-ia32-2.6.18-308.4.1.el5',
verbose bin dist { shasum: '6c635eea07e2088dc383ff3a4fb33427611d3d21',
verbose bin dist tarball: 'http://registry.npmjs.org/tty.js/-/tty.js-0.2.7.tgz' } ]
verbose caching /home/chason/.npm/tty.js/0.2.7/package/package.json
verbose loadDefaults [email protected]
silly resolved [ { name: 'tty.js',
silly resolved description: 'A terminal for your browser',
silly resolved author: { name: 'Christopher Jeffrey' },
silly resolved version: '0.2.7',
silly resolved main: './index.js',
silly resolved bin: { 'tty.js': './bin/tty.js' },
silly resolved man: [ './man/tty.js.1' ],
silly resolved preferGlobal: false,
silly resolved repository: { type: 'git', url: 'git://github.com/chjj/tty.js.git' },
silly resolved homepage: 'https://github.com/chjj/tty.js',
silly resolved bugs: { url: 'https://github.com/chjj/tty.js/issues' },
silly resolved keywords: [ 'tty', 'terminal' ],
silly resolved tags: [ 'tty', 'terminal' ],
silly resolved dependencies:
silly resolved { express: '3.0.0beta4',
silly resolved 'socket.io': '0.9.6',
silly resolved 'pty.js': '0.1.2' },
silly resolved _id: '[email protected]',
silly resolved devDependencies: {},
silly resolved optionalDependencies: {},
silly resolved engines: { node: '' },
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.1',
silly resolved _nodeVersion: 'v0.6.18',
silly resolved _defaultsLoaded: true,
silly resolved scripts: {} } ]
info into /home/chason/public_html/shell [email protected]
info installOne [email protected]
info unbuild /home/chason/public_html/shell/node_modules/tty.js
verbose from cache /home/chason/.npm/tty.js/0.2.7/package/package.json
verbose mkdir (expected) error ENOENT, stat '/home/chason/public_html/shell/node_modules/___tty.js.npm'
verbose mkdir done: /home/chason/public_html/shell/node_modules/__tty.js.npm 755
verbose unpack uid, gid [ 500, 500 ]
verbose unpackTarget /home/chason/public_html/shell/node_modules/tty.js
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/README.md
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/package.json
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/index.js
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/LICENSE
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/.npmignore
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/static
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/static/term.js
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/static/index.html
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/static/style.css
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/static/favicon.ico
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/static/tty.js
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/lib
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/lib/config.js
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/lib/logger.js
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/lib/tty.js
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/bin
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/bin/tty.js
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/man
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/___tty.js.npm/package/man/tty.js.1
verbose gunzed /home/chason/public_html/shell/node_modules/___tty.js.npm/package
verbose rm'ed /home/chason/public_html/shell/node_modules/tty.js
verbose renamed [ '/home/chason/public_html/shell/node_modules/___tty.js.npm/package',
verbose renamed '/home/chason/public_html/shell/node_modules/tty.js' ]
verbose caching /home/chason/public_html/shell/node_modules/tty.js/package.json
verbose loadDefaults [email protected]
info preinstall [email protected]
verbose from cache /home/chason/public_html/shell/node_modules/tty.js/package.json
verbose cache add [ '[email protected]', null ]
silly cache add: name, spec, args [ undefined,
silly cache add: name, spec, args '[email protected]',
silly cache add: name, spec, args [ '[email protected]', null ] ]
verbose parsed url { pathname: '[email protected]',
verbose parsed url path: '[email protected]',
verbose parsed url href: '[email protected]' }
silly cache add: name, spec, args [ 'express', '3.0.0beta4', [ 'express', '3.0.0beta4' ] ]
verbose parsed url { pathname: '3.0.0beta4',
verbose parsed url path: '3.0.0beta4',
verbose parsed url href: '3.0.0beta4' }
verbose addNamed [ 'express', '3.0.0beta4' ]
verbose addNamed [ '3.0.0beta4', '3.0.0beta4' ]
verbose cache add [ '[email protected]', null ]
silly cache add: name, spec, args [ undefined, '[email protected]', [ '[email protected]', null ] ]
verbose parsed url { pathname: '[email protected]',
verbose parsed url path: '[email protected]',
verbose parsed url href: '[email protected]' }
silly cache add: name, spec, args [ 'socket.io', '0.9.6', [ 'socket.io', '0.9.6' ] ]
verbose parsed url { pathname: '0.9.6', path: '0.9.6', href: '0.9.6' }
verbose addNamed [ 'socket.io', '0.9.6' ]
verbose addNamed [ '0.9.6', '0.9.6' ]
verbose raw, before any munging express/3.0.0beta4
verbose url resolving [ 'https://registry.npmjs.org/', './express/3.0.0beta4' ]
verbose url resolved https://registry.npmjs.org/express/3.0.0beta4
verbose etag "BBN46MY5X9U6BZK3U8P2Z7S89"
http GET https://registry.npmjs.org/express/3.0.0beta4
verbose raw, before any munging socket.io/0.9.6
verbose url resolving [ 'https://registry.npmjs.org/', './socket.io/0.9.6' ]
verbose url resolved https://registry.npmjs.org/socket.io/0.9.6
verbose etag "33XPG7B0EQU3JRVOARD1HYP7N"
http GET https://registry.npmjs.org/socket.io/0.9.6
verbose cache add [ '[email protected]', null ]
silly cache add: name, spec, args [ undefined, '[email protected]', [ '[email protected]', null ] ]
verbose parsed url { pathname: '[email protected]',
verbose parsed url path: '[email protected]',
verbose parsed url href: '[email protected]' }
silly cache add: name, spec, args [ 'pty.js', '0.1.2', [ 'pty.js', '0.1.2' ] ]
verbose parsed url { pathname: '0.1.2', path: '0.1.2', href: '0.1.2' }
verbose addNamed [ 'pty.js', '0.1.2' ]
verbose addNamed [ '0.1.2', '0.1.2' ]
verbose raw, before any munging pty.js/0.1.2
verbose url resolving [ 'https://registry.npmjs.org/', './pty.js/0.1.2' ]
verbose url resolved https://registry.npmjs.org/pty.js/0.1.2
verbose etag "5PAW0VUPLFN0EMQKQ3JKKIHPW"
http GET https://registry.npmjs.org/pty.js/0.1.2
http 304 https://registry.npmjs.org/socket.io/0.9.6
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb etag: '"33XPG7B0EQU3JRVOARD1HYP7N"',
silly get cb date: 'Fri, 06 Jul 2012 04:22:59 GMT',
silly get cb 'content-length': '0' } ]
verbose etag socket.io/0.9.6 from cache
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8e-fips-rhel5-v83.6.6.25-linux-ia32-2.6.18-308.4.1.el5',
verbose bin dist { shasum: '6f76255c64f8a471995a1b624f6f16ccae0471e3',
verbose bin dist tarball: 'http://registry.npmjs.org/socket.io/-/socket.io-0.9.6.tgz' } ]
verbose caching /home/chason/.npm/socket.io/0.9.6/package/package.json
verbose loadDefaults [email protected]
http 304 https://registry.npmjs.org/pty.js/0.1.2
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb etag: '"5PAW0VUPLFN0EMQKQ3JKKIHPW"',
silly get cb date: 'Fri, 06 Jul 2012 04:22:59 GMT',
silly get cb 'content-length': '0' } ]
verbose etag pty.js/0.1.2 from cache
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8e-fips-rhel5-v83.6.6.25-linux-ia32-2.6.18-308.4.1.el5',
verbose bin dist { shasum: '902171a71bb3c4b71f371cb650003d744020ed65',
verbose bin dist tarball: 'http://registry.npmjs.org/pty.js/-/pty.js-0.1.2.tgz' } ]
verbose has wscript [ undefined,
verbose has wscript { file: '/home/chason/.npm/pty.js/0.1.2/package/package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching /home/chason/.npm/pty.js/0.1.2/package/package.json
verbose loadDefaults [email protected]
http 304 https://registry.npmjs.org/express/3.0.0beta4
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb etag: '"BBN46MY5X9U6BZK3U8P2Z7S89"',
silly get cb date: 'Fri, 06 Jul 2012 04:22:59 GMT',
silly get cb 'content-length': '0' } ]
verbose etag express/3.0.0beta4 from cache
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8e-fips-rhel5-v83.6.6.25-linux-ia32-2.6.18-308.4.1.el5',
verbose bin dist { shasum: '0f7e5bb2db67e81b4d1c752300954133df276063',
verbose bin dist tarball: 'http://registry.npmjs.org/express/-/express-3.0.0beta4.tgz' } ]
verbose caching /home/chason/.npm/express/3.0.0beta4/package/package.json
verbose loadDefaults [email protected]
silly resolved [ { name: 'socket.io',
silly resolved version: '0.9.6',
silly resolved description: 'Real-time apps made cross-browser & easy with a WebSocket-like API',
silly resolved homepage: 'http://socket.io',
silly resolved keywords: [ 'websocket', 'socket', 'realtime', 'socket.io', 'comet', 'ajax' ],
silly resolved author: { name: 'Guillermo Rauch', email: '[email protected]' },
silly resolved contributors:
silly resolved [ { name: 'Guillermo Rauch', email: '[email protected]' },
silly resolved { name: 'Arnout Kazemier', email: '[email protected]' },
silly resolved { name: 'Vladimir Dronnikov', email: '[email protected]' },
silly resolved { name: 'Einar Otto Stangvik', email: '[email protected]' } ],
silly resolved repository:
silly resolved { type: 'git',
silly resolved url: 'git://github.com/LearnBoost/socket.io.git' },
silly resolved dependencies:
silly resolved { 'socket.io-client': '0.9.6',
silly resolved policyfile: '0.0.4',
silly resolved redis: '0.6.7' },
silly resolved devDependencies:
silly resolved { expresso: '0.9.2',
silly resolved should: '0.0.4',
silly resolved benchmark: '0.2.2',
silly resolved microtime: '0.1.3-1',
silly resolved colors: '0.5.1' },
silly resolved main: 'index',
silly resolved engines: { node: '>= 0.4.0' },
silly resolved scripts: { test: 'make test' },
silly resolved id: '[email protected]',
silly resolved optionalDependencies: {},
silly resolved engineSupported: true,
silly resolved npmVersion: '1.1.1',
silly resolved nodeVersion: 'v0.6.18',
silly resolved defaultsLoaded: true },
silly resolved { name: 'pty.js',
silly resolved description: 'Pseudo terminals for node.',
silly resolved author: { name: 'Christopher Jeffrey' },
silly resolved version: '0.1.2',
silly resolved main: './index.js',
silly resolved repository: { type: 'git', url: 'git://github.com/chjj/pty.js.git' },
silly resolved homepage: 'https://github.com/chjj/pty.js',
silly resolved bugs: { url: 'https://github.com/chjj/pty.js/issues' },
silly resolved keywords: [ 'pty', 'tty', 'terminal' ],
silly resolved scripts:
silly resolved { test: 'node test',
silly resolved preinstall: 'node-waf clean || (exit 0); node-waf configure build' },
silly resolved tags: [ 'pty', 'tty', 'terminal' ],
silly resolved id: '[email protected]',
silly resolved dependencies: {},
silly resolved devDependencies: {},
silly resolved optionalDependencies: {},
silly resolved engines: { node: '' },
silly resolved engineSupported: true,
silly resolved npmVersion: '1.1.1',
silly resolved nodeVersion: 'v0.6.18',
silly resolved defaultsLoaded: true },
silly resolved { name: 'express',
silly resolved description: 'Sinatra inspired web development framework',
silly resolved version: '3.0.0beta4',
silly resolved author: { name: 'TJ Holowaychuk', email: '[email protected]' },
silly resolved contributors:
silly resolved [ { name: 'TJ Holowaychuk', email: '[email protected]' },
silly resolved { name: 'Aaron Heckmann',
silly resolved email: '[email protected]' },
silly resolved { name: 'Ciaran Jessup', email: '[email protected]' },
silly resolved { name: 'Guillermo Rauch', email: '[email protected]' } ],
silly resolved dependencies:
silly resolved { connect: '2.3.4',
silly resolved commander: '0.6.1',
silly resolved 'range-parser': '0.0.4',
silly resolved mkdirp: '0.3.3',
silly resolved cookie: '0.0.3',
silly resolved crc: '0.2.0',
silly resolved fresh: '0.1.0',
silly resolved methods: '0.0.1',
silly resolved debug: '' },
silly resolved devDependencies:
silly resolved { ejs: '',
silly resolved mocha: '',
silly resolved jade: '',
silly resolved hjs: '',
silly resolved stylus: '',
silly resolved should: '',
silly resolved 'connect-redis': '',
silly resolved 'github-flavored-markdown': '',
silly resolved supertest: '0.0.1' },
silly resolved publishConfig: { tag: '3.0' },
silly resolved keywords:
silly resolved [ 'express',
silly resolved 'framework',
silly resolved 'sinatra',
silly resolved 'web',
silly resolved 'rest',
silly resolved 'restful',
silly resolved 'router' ],
silly resolved repository: { type: 'git', url: 'git://github.com/visionmedia/express.git' },
silly resolved main: 'index',
silly resolved bin: { express: './bin/express' },
silly resolved scripts: { prepublish: 'npm prune', test: 'make test' },
silly resolved engines: { node: '' },
silly resolved _id: '[email protected]',
silly resolved optionalDependencies: {},
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.1',
silly resolved _nodeVersion: 'v0.6.18',
silly resolved _defaultsLoaded: true } ]
info into /home/chason/public_html/shell/node_modules/tty.js [email protected]
info into /home/chason/public_html/shell/node_modules/tty.js [email protected]
info into /home/chason/public_html/shell/node_modules/tty.js [email protected]
info installOne [email protected]
info installOne [email protected]
info installOne [email protected]
info unbuild /home/chason/public_html/shell/node_modules/tty.js/node_modules/socket.io
info unbuild /home/chason/public_html/shell/node_modules/tty.js/node_modules/pty.js
info unbuild /home/chason/public_html/shell/node_modules/tty.js/node_modules/express
verbose from cache /home/chason/.npm/socket.io/0.9.6/package/package.json
verbose from cache /home/chason/.npm/pty.js/0.1.2/package/package.json
verbose from cache /home/chason/.npm/express/3.0.0beta4/package/package.json
verbose mkdir (expected) error ENOENT, stat '/home/chason/public_html/shell/node_modules/tty.js/node_modules'
verbose mkdir (expected) error ENOENT, stat '/home/chason/public_html/shell/node_modules/tty.js/node_modules'
verbose mkdir (expected) error ENOENT, stat '/home/chason/public_html/shell/node_modules/tty.js/node_modules'
verbose mkdir (expected) error ENOENT, stat '/home/chason/public_html/shell/node_modules/tty.js/node_modules/___socket.io.npm'
verbose mkdir (expected) error ENOENT, stat '/home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm'
verbose mkdir (expected) error ENOENT, stat '/home/chason/public_html/shell/node_modules/tty.js/node_modules/___express.npm'
verbose mkdir done: /home/chason/public_html/shell/node_modules/tty.js/node_modules/___socket.io.npm 755
verbose mkdir done: /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm 755
verbose mkdir done: /home/chason/public_html/shell/node_modules/tty.js/node_modules/express.npm 755
verbose unpack uid, gid [ 500, 500 ]
verbose unpackTarget /home/chason/public_html/shell/node_modules/tty.js/node_modules/socket.io
silly gunzTarPerm modes [ '755', '644' ]
verbose unpack uid, gid [ 500, 500 ]
verbose unpackTarget /home/chason/public_html/shell/node_modules/tty.js/node_modules/pty.js
silly gunzTarPerm modes [ '755', '644' ]
verbose unpack uid, gid [ 500, 500 ]
verbose unpackTarget /home/chason/public_html/shell/node_modules/tty.js/node_modules/express
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/README.md
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/package.json
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/index.js
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/LICENSE
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/wscript
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/.npmignore
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/Makefile
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/binding.gyp
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/src
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/src/pty.cc
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/lib
silly asyncMap in gTP /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package/lib/pty.js
verbose gunzed /home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package
verbose rm'ed /home/chason/public_html/shell/node_modules/tty.js/node_modules/pty.js
verbose renamed [ '/home/chason/public_html/shell/node_modules/tty.js/node_modules/___pty.js.npm/package',
verbose renamed '/home/chason/public_html/shell/node_modules/tty.js/node_modules/pty.js' ]
verbose has wscript [ undefined,
verbose has wscript { file: '/home/chason/public_html/shell/node_modules/tty.js/node_modules/pty.js/package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching /home/chason/public_html/shell/node_modules/tty.js/node_modules/pty.js/package.json
verbose loadDefaults [email protected]
info preinstall [email protected]
verbose unsafe-perm in lifecycle false
verbose Setting uid from 0 500
verbose stack at uid setting Error
verbose stack at uid setting at exec (/usr/lib/node_modules/npm/lib/utils/exec.js:35:17)
verbose stack at uid setting at Array.0 (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:141:5)
verbose stack at uid setting at EventEmitter._tickCallback (node.js:190:38)
silly exec sh "-c" "node-waf clean || (exit 0); node-waf configure build"
silly spawning [ 'sh',
silly spawning [ '-c', 'node-waf clean || (exit 0); node-waf configure build' ],
silly spawning '/home/chason/public_html/shell/node_modules/tty.js/node_modules/pty.js' ]
info [email protected] Failed to exec preinstall script
ERR! error installing [email protected]
info unbuild /home/chason/public_html/shell/node_modules/tty.js/node_modules/pty.js
verbose from cache /home/chason/public_html/shell/node_modules/tty.js/node_modules/pty.js/package.json
info preuninstall [email protected]
info uninstall [email protected]
verbose unbuild [email protected] [ false,
verbose unbuild [email protected] '/home/chason/public_html/shell/node_modules',
verbose unbuild [email protected] '/home/chason/public_html/shell/node_modules/tty.js/node_modules' ]
info postuninstall [email protected]
verbose installOne cb [email protected]
verbose about to build /home/chason/public_html/shell/node_modules/tty.js
ERR! error installing [email protected]
info unbuild /home/chason/public_html/shell/node_modules/tty.js
verbose from cache /home/chason/public_html/shell/node_modules/tty.js/package.json
info preuninstall [email protected]
info uninstall [email protected]
verbose unbuild [email protected] [ true,
verbose unbuild [email protected] '/home/chason/public_html/shell/node_modules',
verbose unbuild [email protected] '/home/chason/public_html/shell/node_modules' ]
verbose binRoot [ '/home/chason/public_html/shell/node_modules/.bin',
verbose binRoot { 'tty.js': './bin/tty.js' } ]
info postuninstall [email protected]
ERR! error rolling back [email protected] Error: ENOTEMPTY, rmdir '/home/chason/public_html/shell/node_modules/tty.js/node_modules/___express.npm/package/lib'
verbose installOne cb [email protected]
ERR! [email protected] preinstall: node-waf clean || (exit 0); node-waf configure build
ERR! sh "-c" "node-waf clean || (exit 0); node-waf configure build"
failed with 127
ERR!
ERR! Failed at the [email protected] preinstall script.
ERR! This is most likely a problem with the pty.js package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR! node-waf clean || (exit 0); node-waf configure build
ERR! You can get their info via:
ERR! npm owner ls pty.js
ERR! There is likely additional logging output above.
ERR!
ERR! System Linux 2.6.18-308.4.1.el5
ERR! command "node" "/usr/bin/npm" "install" "tty.js"
ERR! cwd /home/chason/public_html/shell
ERR! node -v v0.6.18
ERR! npm -v 1.1.1
ERR! code ELIFECYCLE
ERR! message [email protected] preinstall: node-waf clean || (exit 0); node-waf configure build
ERR! message sh "-c" "node-waf clean || (exit 0); node-waf configure build"
failed with 127
ERR! errno {}
verbose exit [ 1, true ]
My system:
Centos 5.8 (32-bit)