npm install gives me an "unauthorized error" during npm install #2778

Closed
mcollina opened this Issue Sep 3, 2012 · 5 comments

Comments

Projects
None yet
5 participants
@mcollina

mcollina commented Sep 3, 2012

When I run npm install I get this backtrace:

76 error Error: unauthorized Name or password is incorrect.: nodetime/0.4.6
76 error     at RegClient.<anonymous> (/Users/matteo/.nvm/v0.8.7/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:14)
76 error     at Request.init.self.callback (/Users/matteo/.nvm/v0.8.7/lib/node_modules/npm/node_modules/request/main.js:120:22)
76 error     at Request.EventEmitter.emit (events.js:91:17)
76 error     at Request.<anonymous> (/Users/matteo/.nvm/v0.8.7/lib/node_modules/npm/node_modules/request/main.js:555:16)
76 error     at Request.EventEmitter.emit (events.js:88:17)
76 error     at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/Users/matteo/.nvm/v0.8.7/lib/node_modules/npm/node_modules/request/main.js:517:14)
76 error     at IncomingMessage.EventEmitter.emit (events.js:115:20)
76 error     at IncomingMessage._emitEnd (http.js:366:10)
76 error     at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
76 error     at CleartextStream.socketOnData (http.js:1366:20)
@mcollina

This comment has been minimized.

Show comment Hide comment
@mcollina

mcollina Sep 3, 2012

I deleted my .npmrc and everything started working again.

mcollina commented Sep 3, 2012

I deleted my .npmrc and everything started working again.

@isaacs isaacs closed this Sep 11, 2012

@andreyvit

This comment has been minimized.

Show comment Hide comment
@andreyvit

andreyvit Jan 9, 2013

Just had this too. Perhaps the error message should be caught and enhanced with a link to this ticket?

Just had this too. Perhaps the error message should be caught and enhanced with a link to this ticket?

@eriwen

This comment has been minimized.

Show comment Hide comment
@eriwen

eriwen Mar 5, 2013

I got this after I changed my password on npmjs.org. Perhaps that tidbit will help other realize what's going on.

eriwen commented Mar 5, 2013

I got this after I changed my password on npmjs.org. Perhaps that tidbit will help other realize what's going on.

@edef1c

This comment has been minimized.

Show comment Hide comment
@edef1c

edef1c Mar 10, 2013

Member

@eriwen It makes plenty of sense that your stored username/password would be invalid after changing your password.

Member

edef1c commented Mar 10, 2013

@eriwen It makes plenty of sense that your stored username/password would be invalid after changing your password.

@eriwen

This comment has been minimized.

Show comment Hide comment
@eriwen

eriwen Mar 10, 2013

@nathan7 Yep, totally. In fact, I'm really glad it does! I thought it might help others to know.

eriwen commented Mar 10, 2013

@nathan7 Yep, totally. In fact, I'm really glad it does! I thought it might help others to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment