Skip to content

Instantly share code, notes, and snippets.

@blainsmith
Created February 18, 2014 15:30
Show Gist options
  • Save blainsmith/9073174 to your computer and use it in GitHub Desktop.
Save blainsmith/9073174 to your computer and use it in GitHub Desktop.
npm publish issue
> npm publish
npm http PUT https://registry.npmjs.org/automatic
npm http 409 https://registry.npmjs.org/automatic
npm http GET https://registry.npmjs.org/automatic
npm http 200 https://registry.npmjs.org/automatic
npm http PUT https://registry.npmjs.org/automatic/-/automatic-0.1.4.tgz/-rev/19-f0df2d448015e2429bc00a492ab7472d
npm http 403 https://registry.npmjs.org/automatic/-/automatic-0.1.4.tgz/-rev/19-f0df2d448015e2429bc00a492ab7472d
npm http PUT https://registry.npmjs.org/automatic/-/automatic-0.1.4.tgz/-rev/19-f0df2d448015e2429bc00a492ab7472d
npm http 400 https://registry.npmjs.org/automatic/-/automatic-0.1.4.tgz/-rev/19-f0df2d448015e2429bc00a492ab7472d
npm ERR! registry error parsing json
npm ERR! publish Error uploading package
npm ERR! SyntaxError: Unexpected token <
npm ERR! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
npm ERR! <html><head>
npm ERR! <title>400 Bad Request</title>
npm ERR! </head><body>
npm ERR! <h1>Bad Request</h1>
npm ERR! <p>Your browser sent a request that this server could not understand.<br />
npm ERR! </p>
npm ERR! </body></html>
npm ERR!
npm ERR! at Object.parse (native)
npm ERR! at RegClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:238:23)
npm ERR! at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:129:22)
npm ERR! at Request.EventEmitter.emit (events.js:98:17)
npm ERR! at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:873:14)
npm ERR! at Request.EventEmitter.emit (events.js:117:20)
npm ERR! at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:824:12)
npm ERR! at IncomingMessage.EventEmitter.emit (events.js:117:20)
npm ERR! at _stream_readable.js:920:16
npm ERR! at process._tickCallback (node.js:415:13)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Darwin 13.0.2
npm ERR! command "node" "/usr/local/bin/npm" "publish"
npm ERR! cwd /Users/blainsmith/Projects/node.js/node-automatic
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.13
npm ERR! type unexpected_token
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/blainsmith/Projects/node.js/node-automatic/npm-debug.log
npm ERR! not ok code 0
> npm publish
npm http PUT https://registry.npmjs.org/automatic
npm http 409 https://registry.npmjs.org/automatic
npm http GET https://registry.npmjs.org/automatic
npm http 200 https://registry.npmjs.org/automatic
npm http PUT https://registry.npmjs.org/automatic/-/automatic-0.1.4.tgz/-rev/19-f0df2d448015e2429bc00a492ab7472d
npm http 201 https://registry.npmjs.org/automatic/-/automatic-0.1.4.tgz/-rev/19-f0df2d448015e2429bc00a492ab7472d
npm http PUT https://registry.npmjs.org/automatic/0.1.4/-tag/latest
npm http 201 https://registry.npmjs.org/automatic/0.1.4/-tag/latest
+ [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment