{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/6345","labels_url":"https://api.github.com/repos/npm/npm/issues/6345/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/6345/comments","events_url":"https://api.github.com/repos/npm/npm/issues/6345/events","html_url":"https://github.com/npm/npm/issues/6345","id":44278899,"number":6345,"title":"Unable to publish a new package","user":{"login":"asafdav","id":1223211,"avatar_url":"https://avatars.githubusercontent.com/u/1223211?v=3","gravatar_id":"","url":"https://api.github.com/users/asafdav","html_url":"https://github.com/asafdav","followers_url":"https://api.github.com/users/asafdav/followers","following_url":"https://api.github.com/users/asafdav/following{/other_user}","gists_url":"https://api.github.com/users/asafdav/gists{/gist_id}","starred_url":"https://api.github.com/users/asafdav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asafdav/subscriptions","organizations_url":"https://api.github.com/users/asafdav/orgs","repos_url":"https://api.github.com/users/asafdav/repos","events_url":"https://api.github.com/users/asafdav/events{/privacy}","received_events_url":"https://api.github.com/users/asafdav/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/bug","name":"bug","color":"C40233"},{"url":"https://api.github.com/repos/npm/npm/labels/registry","name":"registry","color":"dd4422"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-09-29T10:30:15Z","updated_at":"2015-01-27T21:31:00Z","closed_at":"2014-09-29T22:57:35Z","body":"```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ 'node', '/usr/local/bin/npm', 'publish' ]\r\n2 info using npm@1.4.9\r\n3 info using node@v0.10.28\r\n4 verbose publish [ '.' ]\r\n5 verbose cache add [ '.', null ]\r\n6 verbose cache add name=undefined spec=\".\" args=[\".\",null]\r\n7 verbose parsed url { protocol: null,\r\n7 verbose parsed url   slashes: null,\r\n7 verbose parsed url   auth: null,\r\n7 verbose parsed url   host: null,\r\n7 verbose parsed url   port: null,\r\n7 verbose parsed url   hostname: null,\r\n7 verbose parsed url   hash: null,\r\n7 verbose parsed url   search: null,\r\n7 verbose parsed url   query: null,\r\n7 verbose parsed url   pathname: '.',\r\n7 verbose parsed url   path: '.',\r\n7 verbose parsed url   href: '.' }\r\n8 silly lockFile 3a52ce78- .\r\n9 verbose lock . /Users/asafdavid/.npm/3a52ce78-.lock\r\n10 verbose tar pack [ '/var/folders/gd/cvjmv1ps5mlfzgn5p7yvhpzw0000gn/T/npm-9210-eyCs22HZ/1411986022846-0.5824273366015404/tmp.tgz',\r\n10 verbose tar pack   '.' ]\r\n11 verbose tarball /var/folders/gd/cvjmv1ps5mlfzgn5p7yvhpzw0000gn/T/npm-9210-eyCs22HZ/1411986022846-0.5824273366015404/tmp.tgz\r\n12 verbose folder .\r\n13 info prepublish ng_scrollbar@0.0.5\r\n14 silly lockFile 1f1177db-tar tar://.\r\n15 verbose lock tar://. /Users/asafdavid/.npm/1f1177db-tar.lock\r\n16 silly lockFile c3e7113c-22846-0-5824273366015404-tmp-tgz tar:///var/folders/gd/cvjmv1ps5mlfzgn5p7yvhpzw0000gn/T/npm-9210-eyCs22HZ/1411986022846-0.5824273366015404/tmp.tgz\r\n17 verbose lock tar:///var/folders/gd/cvjmv1ps5mlfzgn5p7yvhpzw0000gn/T/npm-9210-eyCs22HZ/1411986022846-0.5824273366015404/tmp.tgz /Users/asafdavid/.npm/c3e7113c-22846-0-5824273366015404-tmp-tgz.lock\r\n18 silly lockFile 1f1177db-tar tar://.\r\n19 silly lockFile 1f1177db-tar tar://.\r\n20 silly lockFile c3e7113c-22846-0-5824273366015404-tmp-tgz tar:///var/folders/gd/cvjmv1ps5mlfzgn5p7yvhpzw0000gn/T/npm-9210-eyCs22HZ/1411986022846-0.5824273366015404/tmp.tgz\r\n21 silly lockFile c3e7113c-22846-0-5824273366015404-tmp-tgz tar:///var/folders/gd/cvjmv1ps5mlfzgn5p7yvhpzw0000gn/T/npm-9210-eyCs22HZ/1411986022846-0.5824273366015404/tmp.tgz\r\n22 verbose tar unpack /var/folders/gd/cvjmv1ps5mlfzgn5p7yvhpzw0000gn/T/npm-9210-eyCs22HZ/1411986022846-0.5824273366015404/tmp.tgz\r\n23 silly lockFile 130e2bed-d-npm-ng-scrollbar-0-0-5-package tar:///Users/asafdavid/.npm/ng_scrollbar/0.0.5/package\r\n24 verbose lock tar:///Users/asafdavid/.npm/ng_scrollbar/0.0.5/package /Users/asafdavid/.npm/130e2bed-d-npm-ng-scrollbar-0-0-5-package.lock\r\n25 silly lockFile c3e7113c-22846-0-5824273366015404-tmp-tgz tar:///var/folders/gd/cvjmv1ps5mlfzgn5p7yvhpzw0000gn/T/npm-9210-eyCs22HZ/1411986022846-0.5824273366015404/tmp.tgz\r\n26 verbose lock tar:///var/folders/gd/cvjmv1ps5mlfzgn5p7yvhpzw0000gn/T/npm-9210-eyCs22HZ/1411986022846-0.5824273366015404/tmp.tgz /Users/asafdavid/.npm/c3e7113c-22846-0-5824273366015404-tmp-tgz.lock\r\n27 silly gunzTarPerm modes [ '755', '644' ]\r\n28 silly gunzTarPerm extractEntry package.json\r\n29 silly gunzTarPerm extractEntry .npmignore\r\n30 silly gunzTarPerm extractEntry README.md\r\n31 silly gunzTarPerm extractEntry LICENSE\r\n32 silly gunzTarPerm extractEntry Gruntfile.js\r\n33 silly gunzTarPerm extractEntry karma.conf.js\r\n34 silly gunzTarPerm extractEntry bower.json\r\n35 silly gunzTarPerm extractEntry .travis.yml\r\n36 silly gunzTarPerm extractEntry CONTRIBUTING.md\r\n37 silly gunzTarPerm extractEntry dist/ng-scrollbar.js\r\n38 silly gunzTarPerm extractEntry dist/ng-scrollbar.min.js\r\n39 silly gunzTarPerm extractEntry dist/ng-scrollbar.css\r\n40 silly gunzTarPerm extractEntry dist/ng-scrollbar.min.css\r\n41 silly gunzTarPerm extractEntry example/index.html\r\n42 silly gunzTarPerm extractEntry .editorconfig\r\n43 silly gunzTarPerm extractEntry src/ng-scrollbar.js\r\n44 silly gunzTarPerm extractEntry src/ng-scrollbar.less\r\n45 silly gunzTarPerm extractEntry .jshintrc\r\n46 silly gunzTarPerm extractEntry test/.jshintrc\r\n47 silly gunzTarPerm extractEntry test/spec/ng-scrollbar.js\r\n48 silly lockFile 130e2bed-d-npm-ng-scrollbar-0-0-5-package tar:///Users/asafdavid/.npm/ng_scrollbar/0.0.5/package\r\n49 silly lockFile 130e2bed-d-npm-ng-scrollbar-0-0-5-package tar:///Users/asafdavid/.npm/ng_scrollbar/0.0.5/package\r\n50 silly lockFile c3e7113c-22846-0-5824273366015404-tmp-tgz tar:///var/folders/gd/cvjmv1ps5mlfzgn5p7yvhpzw0000gn/T/npm-9210-eyCs22HZ/1411986022846-0.5824273366015404/tmp.tgz\r\n51 silly lockFile c3e7113c-22846-0-5824273366015404-tmp-tgz tar:///var/folders/gd/cvjmv1ps5mlfzgn5p7yvhpzw0000gn/T/npm-9210-eyCs22HZ/1411986022846-0.5824273366015404/tmp.tgz\r\n52 silly lockFile 3a52ce78- .\r\n53 silly lockFile 3a52ce78- .\r\n54 silly publish { name: 'ng_scrollbar',\r\n54 silly publish   version: '0.0.5',\r\n54 silly publish   main: 'dist/ng-scrollbar.min.js',\r\n54 silly publish   description: 'A custom scrollbar written in pure AngularJS',\r\n54 silly publish   keywords: [ 'angular', 'angularjs', 'scrollbar' ],\r\n54 silly publish   homepage: 'https://github.com/asafdav/ng-scrollbar',\r\n54 silly publish   bugs: { url: 'https://github.com/asafdav/ng-scrollbar/issues' },\r\n54 silly publish   author:\r\n54 silly publish    { name: 'Asaf David',\r\n54 silly publish      email: 'asafdav@gmail.com',\r\n54 silly publish      url: 'http://about.me/asafdavid' },\r\n54 silly publish   repository:\r\n54 silly publish    { type: 'git',\r\n54 silly publish      url: 'https://github.com/asafdav/ng-scrollbar.git' },\r\n54 silly publish   licenses: [ { type: 'MIT' } ],\r\n54 silly publish   devDependencies:\r\n54 silly publish    { grunt: '~0.4.1',\r\n54 silly publish      'grunt-contrib-jshint': '~0.6.4',\r\n54 silly publish      'grunt-contrib-concat': '~0.3.0',\r\n54 silly publish      'grunt-contrib-uglify': '~0.2.4',\r\n54 silly publish      'grunt-contrib-watch': '~0.5.3',\r\n54 silly publish      'grunt-contrib-clean': '~0.5.0',\r\n54 silly publish      'grunt-contrib-connect': '~0.5.0',\r\n54 silly publish      'grunt-contrib-less': '~0.9.0',\r\n54 silly publish      'grunt-contrib-cssmin': '~0.7.0',\r\n54 silly publish      'connect-livereload': '~0.3.0',\r\n54 silly publish      'grunt-open': '~0.2.2',\r\n54 silly publish      'grunt-karma': '~0.6.2',\r\n54 silly publish      'grunt-ngmin': '0.0.3',\r\n54 silly publish      'grunt-bump': '0.0.11',\r\n54 silly publish      matchdep: '~0.1.2',\r\n54 silly publish      'karma-script-launcher': '~0.1.0',\r\n54 silly publish      'karma-chrome-launcher': '~0.1.0',\r\n54 silly publish      'karma-firefox-launcher': '~0.1.0',\r\n54 silly publish      'karma-html2js-preprocessor': '~0.1.0',\r\n54 silly publish      'karma-jasmine': '~0.1.3',\r\n54 silly publish      'karma-requirejs': '~0.2.0',\r\n54 silly publish      'karma-coffee-preprocessor': '~0.1.0',\r\n54 silly publish      'karma-phantomjs-launcher': '~0.1.0',\r\n54 silly publish      karma: '~0.10.2' },\r\n54 silly publish   dependencies: {},\r\n54 silly publish   readme: '# ng-scrollbar\\nA custom scrollbar written in pure AngularJS.\\n\\nWorks with the mouse and on touch screen.\\n\\nTired of using jquery for a stupid scrollbar? well, this directive is just for you. \\n\\n\\n## Usage\\n\\n1. Add ng-scrollbar.min.js to you main file (index.html)\\n\\n  you can download this by:\\n  * using bower and running `bower install ng-scrollbar`\\n  * Download the [production version][min] or the [development version][max].\\n\\n  [min]: https://raw.github.com/asafdav/ng-scrollbar/master/dist/angular-ng-scrollbar.min.js\\n  [max]: https://raw.github.com/asafdav/ng-scrollbar/master/dist/angular-ng-scrollbar.js\\n\\n  In your web page:\\n\\n  ```html\\n  <script src=\"angular.js\"></script>\\n  <script src=\"dist/ng-scrollbar.min.js\"></script>\\n  <link rel=\"stylesheet\" href=\"dist/ng-scrollbar.min.css\" >\\n  ```\\n\\n2. Set `ngScrollbar` as a dependency in your module\\n  ```javascript\\n  var myapp = angular.module(\\'myapp\\', [\\'ngScrollbar\\'])\\n  ```\\n\\n3. Add ng-scrollbar directive to the wanted element, example:\\n  ```html\\n  <div class=\"scrollme\" ng-scrollbar> .... </div>\\n  ```\\n\\n## Rebuild the scrollbar \\nIn case you need to rebuild the scrollbar, you may tell ng-scrollbar to rebuild it for you by broadcasting an event. \\nIt\\'s useful to use this option when the size or visibility of the container is dynamic and during the link phase the size can\\'t be determined. \\n  ```html\\n  <div class=\"scrollme\" ng-scrollbar rebuild-on=\"rebuild:me\" > .... </div>\\n  ```\\n\\n  ```javascript\\n  // rebuild the scrollbar\\n  $scope.$broadcast(\\'rebuild:me\\');\\n  ```\\n\\nIn case you need to rebuild the scrollbar on every window\\'s resize, you may use \"rebuild-on-resize\" option. \\n  ```html\\n  <div class=\"scrollme\" ng-scrollbar rebuild-on-resize > .... </div>\\n  ```\\n\\nIn case you need to stick content to bottom (chat or something) use \"bottom\" option.\\n  ```html\\n  <div class=\"scrollme\" ng-scrollbar bottom > .... </div>\\n  ```\\n\\n## Events and Flags\\nOn rebuilding the scrollbar you can get notified by 2 events\\n  ```javascript\\n    $scope.$on(\\'scrollbar.show\\', function(){\\n      console.log(\\'Scrollbar show\\');\\n    });\\n    $scope.$on(\\'scrollbar.hide\\', function(){\\n      console.log(\\'Scrollbar hide\\');\\n    });\\n  ```\\n\\nOr you can use \"is-bar-shown\" option. It should be read-only\\n  ```html\\n  <div class=\"scrollme\" ng-scrollbar is-bar-shown=\"flag\" > .... </div>\\n  <div> Bar shown: {{flag}} </div>\\n  ```\\n\\n## Examples\\nSee the example in the respository.\\n\\n\\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/asafdav/ng-scrollbar/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\\n\\n',\r\n54 silly publish   readmeFilename: 'README.md',\r\n54 silly publish   _id: 'ng_scrollbar@0.0.5',\r\n54 silly publish   _shasum: '7966d860a316d21c41f805b103280c0183e07d48',\r\n54 silly publish   _from: '.' }\r\n55 verbose url raw ng_scrollbar\r\n56 verbose url resolving [ 'https://registry.npmjs.org/', './ng_scrollbar' ]\r\n57 verbose url resolved https://registry.npmjs.org/ng_scrollbar\r\n58 info trying registry request attempt 1 at 13:20:22\r\n59 http PUT https://registry.npmjs.org/ng_scrollbar\r\n60 http 500 https://registry.npmjs.org/ng_scrollbar\r\n61 info retry will retry, error on last attempt: Error: pound_internal_server_error : ng_scrollbar\r\n62 info trying registry request attempt 2 at 13:20:34\r\n63 http PUT https://registry.npmjs.org/ng_scrollbar\r\n64 http 500 https://registry.npmjs.org/ng_scrollbar\r\n65 info retry will retry, error on last attempt: Error: pound_internal_server_error : ng_scrollbar\r\n66 info trying registry request attempt 3 at 13:21:36\r\n67 http PUT https://registry.npmjs.org/ng_scrollbar\r\n68 http 500 https://registry.npmjs.org/ng_scrollbar\r\n69 verbose headers { date: 'Mon, 29 Sep 2014 10:21:37 GMT',\r\n69 verbose headers   server: 'Apache',\r\n69 verbose headers   'content-type': 'text/html',\r\n69 verbose headers   expires: 'now',\r\n69 verbose headers   pragma: 'no-cache',\r\n69 verbose headers   'cache-control': 'max-age=0',\r\n69 verbose headers   'content-length': '111',\r\n69 verbose headers   'accept-ranges': 'bytes',\r\n69 verbose headers   via: '1.1 varnish',\r\n69 verbose headers   'x-served-by': 'cache-lcy1130-LCY',\r\n69 verbose headers   'x-cache': 'MISS',\r\n69 verbose headers   'x-cache-hits': '0',\r\n69 verbose headers   'x-timer': 'S1411986096.907329,VS0,VE763',\r\n69 verbose headers   connection: 'close' }\r\n70 error publish Failed PUT 500\r\n71 error Error: pound_internal_server_error : ng_scrollbar\r\n71 error     at RegClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:273:14)\r\n71 error     at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:211:65)\r\n71 error     at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:123:22)\r\n71 error     at Request.EventEmitter.emit (events.js:98:17)\r\n71 error     at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:893:14)\r\n71 error     at Request.EventEmitter.emit (events.js:117:20)\r\n71 error     at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:844:12)\r\n71 error     at IncomingMessage.EventEmitter.emit (events.js:117:20)\r\n71 error     at _stream_readable.js:919:16\r\n71 error     at process._tickCallback (node.js:419:13)\r\n72 error If you need help, you may report this *entire* log,\r\n72 error including the npm and node versions, at:\r\n72 error     <http://github.com/npm/npm/issues>\r\n73 error System Darwin 13.4.0\r\n74 error command \"node\" \"/usr/local/bin/npm\" \"publish\"\r\n75 error cwd /Users/asafdavid/git/AngularJS/ng-scrollbar\r\n76 error node -v v0.10.28\r\n77 error npm -v 1.4.9\r\n78 verbose exit [ 1, true ]\r\n```"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/71731979","html_url":"https://github.com/npm/npm/issues/6345#issuecomment-71731979","issue_url":"https://api.github.com/repos/npm/npm/issues/6345","id":71731979,"user":{"login":"jwalton","id":1771003,"avatar_url":"https://avatars.githubusercontent.com/u/1771003?v=3","gravatar_id":"","url":"https://api.github.com/users/jwalton","html_url":"https://github.com/jwalton","followers_url":"https://api.github.com/users/jwalton/followers","following_url":"https://api.github.com/users/jwalton/following{/other_user}","gists_url":"https://api.github.com/users/jwalton/gists{/gist_id}","starred_url":"https://api.github.com/users/jwalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwalton/subscriptions","organizations_url":"https://api.github.com/users/jwalton/orgs","repos_url":"https://api.github.com/users/jwalton/repos","events_url":"https://api.github.com/users/jwalton/events{/privacy}","received_events_url":"https://api.github.com/users/jwalton/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T21:31:00Z","updated_at":"2015-01-27T21:31:00Z","body":"Yeah... This need to be fixed in the NPM client.  I just retried my `npm publish` many times before I found this.  :P"}}