Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
mcollina opened this Issue · 5 comments

5 participants

@mcollina

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

I deleted my .npmrc and everything started working again.

@isaacs isaacs closed this
@andreyvit

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

@eriwen

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

@nathan7
Collaborator

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

@eriwen

@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
Something went wrong with that request. Please try again.