Skip to content

Instantly share code, notes, and snippets.

@jfhbrook
Created July 14, 2010 21:54
Show Gist options
  • Save jfhbrook/476153 to your computer and use it in GitHub Desktop.
Save jfhbrook/476153 to your computer and use it in GitHub Desktop.
[josh@eevee ~]$ su -c'npm install htmlparser'
Password:
npm it worked if it ends with ok
npm sudo true
npm configfile /root/.npmrc
npm cli [ 'install', 'htmlparser' ]
npm version 0.1.19
npm install pkg htmlparser
npm fetch data htmlparser
npm GET htmlparser
npm install pkg htmlparser
npm nodeSupported by htmlparser@1.6.2 true
npm htmlparser@latest { name: 'htmlparser'
, description: 'Forgiving HTML/XML/RSS Parser in JS for *both* Node and Browsers'
, version: '1.6.2'
, author: 'Chris Winberry <chris@winberry.net>'
, contributors: []
, repository:
{ type: 'git'
, url: 'git://github.com/tautologistics/node-htmlparser.git'
}
, bugs:
{ mail: 'chris@winberry.net'
, web: 'http://github.com/tautologistics/node-htmlparser/issues'
}
, os: [ 'linux', 'darwin', 'freebsd' ]
, directories: { lib: './lib/' }
, main: './lib/node-htmlparser'
, engines: { node: '>=0.1.33' }
, licenses:
[ { type: 'MIT'
, url: 'http://github.com/tautologistics/node-htmlparser/raw/master/LICENSE'
}
]
, _id: 'htmlparser-1.6.2'
, _nodeSupported: true
, dist: { tarball: 'http://registry.npmjs.org/htmlparser/-/htmlparser-1.6.2.tgz' }
, mtime: '2010-07-07T18:52:26Z'
, ctime: '2010-07-07T18:52:26Z'
}
npm install pkg htmlparser@1.6.2
npm readJson /usr/local/lib/node/.npm/.cache/htmlparser/1.6.2/package.json
npm GET htmlparser/1.6.2
npm fetch http://registry.npmjs.org/htmlparser/-/htmlparser-1.6.2.tgz to /usr/local/lib/node/.npm/.cache/htmlparser/1.6.2/package.tgz
npm fail Error installing htmlparser@1.6.2
npm ! Error: 404 { server: 'nginx/0.7.62'
, date: 'Sun, 11 Jul 2010 07:04:22 GMT'
, 'content-type': 'text/plain;charset=utf-8'
, connection: 'close'
, 'content-length': '64'
, 'cache-control': 'must-revalidate'
}
at ClientRequest.<anonymous> (/usr/local/lib/node/.npm/npm/0.1.19/package/lib/utils/fetch.js:61:19)
at ClientRequest.emit (events:25:26)
at HTTPParser.onIncoming (http:861:11)
at HTTPParser.onHeadersComplete (http:87:31)
at Client.ondata (http:871:22)
at IOWatcher.callback (net:517:29)
at node.js:266:9
npm failure try running: 'npm help install'
npm failure Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm failure or email it to <npm-@googlegroups.com>
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment