Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Publish Error - npm 1.1.50 and node 0.8.7 #2731

Closed
joemccann opened this Issue · 4 comments

2 participants

@joemccann
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'publish' ]
2 info using npm@1.1.50
3 info using node@v0.8.7
4 verbose publish [ '.' ]
5 verbose read json /Users/joemccann/Documents/workspace/photopipe/package.json
6 verbose cache add [ '.', null ]
7 silly cache add name=undefined spec="." args=[".",null]
8 verbose parsed url { pathname: '.', path: '.', href: '.' }
9 silly lockFile 3a52ce78- .
10 verbose lock . /Users/joemccann/.npm/3a52ce78-.lock
11 verbose read json package.json
12 verbose tar pack [ '/var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/tmp.tgz',
12 verbose tar pack   '.' ]
13 verbose tarball /var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/tmp.tgz
14 verbose folder .
15 info prepublish photopipe@0.0.1
16 silly lockFile df219a4a-45746-0-8599249846301973-tmp-tgz /var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/tmp.tgz
17 verbose lock /var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/tmp.tgz /Users/joemccann/.npm/df219a4a-45746-0-8599249846301973-tmp-tgz.lock
18 silly lockFile df219a4a-45746-0-8599249846301973-tmp-tgz /var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/tmp.tgz
19 verbose tar unpack /var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/tmp.tgz
20 silly lockFile aab30906-45746-0-8599249846301973-package /var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/package
21 verbose lock /var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/package /Users/joemccann/.npm/aab30906-45746-0-8599249846301973-package.lock
22 silly gunzTarPerm modes [ '777', '666' ]
23 silly gunzTarPerm extractEntry package.json
24 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ]
25 silly gunzTarPerm extractEntry .npmignore
26 silly gunzTarPerm modified mode [ '.npmignore', 420, 438 ]
27 silly gunzTarPerm extractEntry README.md
28 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ]
29 silly gunzTarPerm extractEntry LICENSE
30 silly gunzTarPerm modified mode [ 'LICENSE', 420, 438 ]
31 silly gunzTarPerm extractEntry app.js
32 silly gunzTarPerm modified mode [ 'app.js', 420, 438 ]
33 silly gunzTarPerm extractEntry plugins/bazaarvoice/README.md
34 silly gunzTarPerm modified mode [ 'plugins/bazaarvoice/README.md', 420, 438 ]
35 silly gunzTarPerm extractEntry plugins/bazaarvoice/bv.js
36 silly gunzTarPerm modified mode [ 'plugins/bazaarvoice/bv.js', 420, 438 ]
37 silly gunzTarPerm extractEntry plugins/facebook/README.md
38 silly gunzTarPerm modified mode [ 'plugins/facebook/README.md', 420, 438 ]
39 silly gunzTarPerm extractEntry plugins/flickr/README.md
40 silly gunzTarPerm modified mode [ 'plugins/flickr/README.md', 420, 438 ]
41 silly gunzTarPerm extractEntry plugins/instagram/README.md
42 silly gunzTarPerm modified mode [ 'plugins/instagram/README.md', 420, 438 ]
43 silly gunzTarPerm extractEntry public/css/normalize.css
44 silly gunzTarPerm modified mode [ 'public/css/normalize.css', 420, 438 ]
45 silly gunzTarPerm extractEntry public/css/normalize.styl
46 silly gunzTarPerm modified mode [ 'public/css/normalize.styl', 420, 438 ]
47 silly gunzTarPerm extractEntry public/css/style.css
48 silly gunzTarPerm modified mode [ 'public/css/style.css', 420, 438 ]
49 silly gunzTarPerm extractEntry public/css/style.styl
50 silly gunzTarPerm modified mode [ 'public/css/style.styl', 420, 438 ]
51 silly gunzTarPerm extractEntry public/favicon.ico
52 silly gunzTarPerm modified mode [ 'public/favicon.ico', 420, 438 ]
53 silly gunzTarPerm extractEntry public/outbound/README.md
54 silly gunzTarPerm modified mode [ 'public/outbound/README.md', 420, 438 ]
55 silly gunzTarPerm extractEntry routes/index.js
56 silly gunzTarPerm modified mode [ 'routes/index.js', 420, 438 ]
57 silly gunzTarPerm extractEntry views/index.ejs
58 silly gunzTarPerm modified mode [ 'views/index.ejs', 420, 438 ]
59 verbose read json /var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/package/package.json
60 silly lockFile aab30906-45746-0-8599249846301973-package /var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/package
61 verbose from cache /var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/package/package.json
62 verbose tar pack [ '/Users/joemccann/.npm/photopipe/0.0.1/package.tgz',
62 verbose tar pack   '/var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/package' ]
63 verbose tarball /Users/joemccann/.npm/photopipe/0.0.1/package.tgz
64 verbose folder /var/folders/sp/6hwn3v7j19ggxbvkqxld97_h0000gn/T/npm-36376/1345331445746-0.8599249846301973/package
65 silly lockFile 9dcf0d11--npm-photopipe-0-0-1-package-tgz /Users/joemccann/.npm/photopipe/0.0.1/package.tgz
66 verbose lock /Users/joemccann/.npm/photopipe/0.0.1/package.tgz /Users/joemccann/.npm/9dcf0d11--npm-photopipe-0-0-1-package-tgz.lock
67 silly lockFile 9dcf0d11--npm-photopipe-0-0-1-package-tgz /Users/joemccann/.npm/photopipe/0.0.1/package.tgz
68 silly lockFile ed177989-cann-npm-photopipe-0-0-1-package /Users/joemccann/.npm/photopipe/0.0.1/package
69 verbose lock /Users/joemccann/.npm/photopipe/0.0.1/package /Users/joemccann/.npm/ed177989-cann-npm-photopipe-0-0-1-package.lock
70 silly lockFile ed177989-cann-npm-photopipe-0-0-1-package /Users/joemccann/.npm/photopipe/0.0.1/package
71 verbose tar unpack /Users/joemccann/.npm/photopipe/0.0.1/package.tgz
72 silly lockFile ed177989-cann-npm-photopipe-0-0-1-package /Users/joemccann/.npm/photopipe/0.0.1/package
73 verbose lock /Users/joemccann/.npm/photopipe/0.0.1/package /Users/joemccann/.npm/ed177989-cann-npm-photopipe-0-0-1-package.lock
74 silly gunzTarPerm modes [ '777', '666' ]
75 silly gunzTarPerm extractEntry package.json
76 silly gunzTarPerm extractEntry .npmignore
77 silly gunzTarPerm extractEntry README.md
78 silly gunzTarPerm extractEntry LICENSE
79 silly gunzTarPerm extractEntry app.js
80 silly gunzTarPerm extractEntry plugins/bazaarvoice/README.md
81 silly gunzTarPerm extractEntry plugins/bazaarvoice/bv.js
82 silly gunzTarPerm extractEntry plugins/facebook/README.md
83 silly gunzTarPerm extractEntry plugins/flickr/README.md
84 silly gunzTarPerm extractEntry plugins/instagram/README.md
85 silly gunzTarPerm extractEntry public/css/normalize.css
86 silly gunzTarPerm extractEntry public/css/normalize.styl
87 silly gunzTarPerm extractEntry public/css/style.css
88 silly gunzTarPerm extractEntry public/css/style.styl
89 silly gunzTarPerm extractEntry public/favicon.ico
90 silly gunzTarPerm extractEntry public/outbound/README.md
91 silly gunzTarPerm extractEntry routes/index.js
92 silly gunzTarPerm extractEntry views/index.ejs
93 verbose read json /Users/joemccann/.npm/photopipe/0.0.1/package/package.json
94 silly lockFile ed177989-cann-npm-photopipe-0-0-1-package /Users/joemccann/.npm/photopipe/0.0.1/package
95 silly shasum updated bytes 7824
96 info shasum 1d7cc991862a41a21a6e7833f69cd9b62f03115e
96 info shasum /Users/joemccann/.npm/photopipe/0.0.1/package.tgz
97 verbose from cache /Users/joemccann/.npm/photopipe/0.0.1/package/package.json
98 verbose chmod /Users/joemccann/.npm/photopipe/0.0.1/package.tgz 666
99 verbose chown /Users/joemccann/.npm/photopipe/0.0.1/package.tgz [ 501, 20 ]
100 silly lockFile 3a52ce78- .
101 silly publish { name: 'photopipe',
101 silly publish   description: 'Sinatra inspired web development framework',
101 silly publish   version: '0.0.1',
101 silly publish   author: { name: 'Joe McCann', email: 'joe@subprint.com' },
101 silly publish   contributors: [ { name: 'Joe McCann', email: 'joe@subprint.com' } ],
101 silly publish   scripts: { start: 'node app' },
101 silly publish   keywords:
101 silly publish    [ 'photo',
101 silly publish      'pipe',
101 silly publish      'photopipe',
101 silly publish      'image',
101 silly publish      'stream',
101 silly publish      'restful',
101 silly publish      'images',
101 silly publish      'upload',
101 silly publish      'api' ],
101 silly publish   repository: { type: 'git', url: 'git://github.com/joemccann/photopipe' },
101 silly publish   engines: { node: '>=0.8.x' },
101 silly publish   dependencies:
101 silly publish    { express: '3.0.0rc3',
101 silly publish      ejs: '*',
101 silly publish      stylus: '*',
101 silly publish      request: '>=2.9.203' },
101 silly publish   readme: 'PhotoPipe\n=\n\nPhotoPipe is a node service that takes an URL of an image, writes it to disk\nand then can redirect or pipe it to another web service, such as one that\nonly accepts binary uploads.\n\nPhotoPipe has a plugins directory that ideally is a place you could post these photos.  One working example is there.\n\nFeel free to add and even implement some of the services.\n\nLicense\n-\n\nMIT, bro\n\n\nInstallation\n-\n\n**Requirements:  Node and NPM need to be installed.**\n\n1. `git clone https://github.com/joemccann/photopipe.git`\n2. `cd photopipe`\n3. `npm i`\n4. `node app`\n5. `open 127.0.0.1:1337`\n\nor\n\n`npm install photopipe`\n\n**Free Software, Fuck Yeah**\n\n',
101 silly publish   _id: 'photopipe@0.0.1',
101 silly publish   dist: { shasum: '1d7cc991862a41a21a6e7833f69cd9b62f03115e' } }
102 verbose url raw photopipe
103 verbose url resolving [ 'http://registry.npmjs.org/', './photopipe' ]
104 verbose url resolved http://registry.npmjs.org/photopipe
105 error publish Failed PUT response undefined
106 error Error: login error
106 error     at RegClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:80:22)
106 error     at CouchLogin.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/couch-login/couch-login.js:109:46)
106 error     at Request.init.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/main.js:120:22)
106 error     at Request.EventEmitter.emit (events.js:91:17)
106 error     at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/main.js:648:16)
106 error     at Request.EventEmitter.emit (events.js:115:20)
106 error     at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/usr/local/lib/node_modules/npm/node_modules/request/main.js:610:14)
106 error     at IncomingMessage.EventEmitter.emit (events.js:115:20)
106 error     at IncomingMessage._emitEnd (http.js:366:10)
106 error     at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
107 error If you need help, you may report this log at:
107 error     <http://github.com/isaacs/npm/issues>
107 error or email it to:
107 error     <npm-@googlegroups.com>
108 error System Darwin 11.4.0
109 error command "node" "/usr/local/bin/npm" "publish"
110 error cwd /Users/joemccann/Documents/workspace/photopipe
111 error node -v v0.8.7
112 error npm -v 1.1.50
113 verbose exit [ 1, true ]

Trying to publish this module: http://github.com/joemccann/photopipe

@isaacs
Owner

That's weird, it looks like it didn't even give you a valid http response. Does it work if you try again?

@joemccann

Sadly no. Been trying repeatedly :/

@isaacs isaacs closed this in 3b1d353
@isaacs
Owner

Found it. The issue is that when the token expires, it's not re-logging in properly. It'll be fixed in 1.1.51, which will also be included with node 0.8.8.

@joemccann

Killer! Thanks Isaac...wicked fast on the response. cheers

@isaacs isaacs referenced this issue from a commit in npm/npm-registry-client
@isaacs isaacs Use this.conf.get('username'), not this.username
Root cause of npm/npm#2731
80bd9a8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.