Skip to content

Instantly share code, notes, and snippets.

@fitzgen
Created June 8, 2010 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitzgen/430450 to your computer and use it in GitHub Desktop.
Save fitzgen/430450 to your computer and use it in GitHub Desktop.
sudo npm publish .
npm configfile /home/fitzgen/.npmrc
npm sudo true
npm cli [ 'publish', '.' ]
npm version 0.1.15
npm publish [ '.' ]
npm readJson package.json
npm packTar . /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
npm exec tar "czf" "/usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz" "--exclude" ".git" "wu.js"
npm exec tar "xzf" "/usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz" "--strip" "1" "-C" "/usr/local/lib/node/.npm/.cache/wu/0.1.1/pac\
kage"
npm readJson /usr/local/lib/node/.npm/.cache/wu/0.1.1/package/package.json
npm publish { name: 'wu'
, description: 'A lazy, functional Javascript library that ain\'t nuthin\' ta f*ck wit.'
, author:
{ name: 'Nick Fitzgerald'
, email: 'fitzgen@gmail.com'
, url: 'http://fitzgeraldnick.com'
}
, bugs: 'http://github.com/fitzgen/wu.js/issues'
, licenses:
[ { type: 'MIT'
, url: 'http://www.opensource.org/licenses/mit-license.php '
}
]
, repositories:
[ { type: 'git'
, url: 'http://github.com/fitzgen/wu.js'
}
]
, url: 'http://fitzgen.github.com/wu.js'
, version: '0.1.1'
, directories: { lib: './lib' }
, main: './lib/wu'
, _id: 'wu-0.1.1'
}
npm PUT wu
npm GET wu
npm tarball /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
npm stat /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz { dev: 2050
, ino: 150353
, mode: 33188
, nlink: 1
, uid: 0
, gid: 0
, rdev: 0
, size: 3957391
, blksize: 4096
, blocks: 7736
, atime: Tue, 08 Jun 2010 18:32:40 GMT
, mtime: Tue, 08 Jun 2010 18:32:40 GMT
, ctime: Tue, 08 Jun 2010 18:32:40 GMT
}
npm PUT wu/-/wu-0.1.1.tgz/-rev/6-1e4efee71b59d78db9d2822def41e64e
npm uploading /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
npm bytes 3957391
npm uploaded /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
npm registry error parsing json
npm fail Couldn't send tarball
npm ! SyntaxError: Unexpected token ILLEGAL
<html>
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx/0.7.62</center>
</body>
</html>
at Object.parse (native)
at IncomingMessage.<anonymous> (/usr/local/lib/node/.npm/npm/0.1.15-LINK-1b3bd13f/package/lib/utils/registry/request.js:65:23)
at IncomingMessage.emit (events:42:20)
at HTTPParser.onMessageComplete (http:110:23)
at Client.ondata (http:859:22)
at IOWatcher.callback (net:373:31)
at node.js:204:9
npm failure try running: 'npm help publish'
npm failure Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm failure or email it to <npm-@googlegroups.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment