This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
Can't login using 2.1.7 #6641
Closed
Description
username: theblacksmith
After upgrading to 2.1.7 I was getting the following error. But it was solved after updating my password on the site and deleting ~/.npmrc
npm verb adduser before first PUT { _id: 'org.couchdb.user:theblacksmith',
npm verb adduser name: 'theblacksmith',
npm verb adduser password: 'XXXXX',
npm verb adduser email: 'me@saulovallory.com',
npm verb adduser type: 'user',
npm verb adduser roles: [],
npm verb adduser date: '2014-11-04T21:05:00.553Z' }
npm verb request uri https://registry.npmjs.org/-/user/org.couchdb.user:theblacksmith
npm verb request new user, so can't send auth
npm info attempt registry request try #1 at 19:05:00
npm verb request id 36456cf5290507dd
npm http request PUT https://registry.npmjs.org/-/user/org.couchdb.user:theblacksmith
npm http 409 https://registry.npmjs.org/-/user/org.couchdb.user:theblacksmith
npm verb headers { date: 'Tue, 04 Nov 2014 21:05:01 GMT',
npm verb headers server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',
npm verb headers 'content-type': 'application/json',
npm verb headers 'cache-control': 'max-age=60',
npm verb headers 'content-length': '58',
npm verb headers 'accept-ranges': 'bytes',
npm verb headers via: '1.1 varnish',
npm verb headers 'x-served-by': 'cache-jfk1026-JFK',
npm verb headers 'x-cache': 'MISS',
npm verb headers 'x-cache-hits': '0',
npm verb headers 'x-timer': 'S1415135101.195851,VS0,VE343',
npm verb headers 'keep-alive': 'timeout=10, max=50',
npm verb headers connection: 'Keep-Alive' }
npm verb request invalidating /Users/svallory/.npm/registry.npmjs.org/-/user/org.couchdb.user_3Atheblacksmith on PUT
npm verb adduser update existing user
npm verb request uri https://registry.npmjs.org/-/user/org.couchdb.user:theblacksmith?write=true
npm verb request sending authorization for write operation
npm info attempt registry request try #1 at 19:05:01
npm http request GET https://registry.npmjs.org/-/user/org.couchdb.user:theblacksmith?write=true
npm http 200 https://registry.npmjs.org/-/user/org.couchdb.user:theblacksmith?write=true
npm verb adduser userobj { _id: 'org.couchdb.user:theblacksmith',
npm verb adduser name: 'theblacksmith',
npm verb adduser password: 'XXXXX',
npm verb adduser email: 'me@saulovallory.com',
npm verb adduser type: 'user',
npm verb adduser roles: [],
npm verb adduser date: '2014-11-04T21:05:00.553Z' }
npm verb request uri https://registry.npmjs.org/-/user/org.couchdb.user:theblacksmith/-rev/3-f18a79c01312290049758eabb2649dad
npm verb request updating existing user; sending authorization
npm info attempt registry request try #1 at 19:05:02
npm http request PUT https://registry.npmjs.org/-/user/org.couchdb.user:theblacksmith/-rev/3-f18a79c01312290049758eabb2649dad
npm http 403 https://registry.npmjs.org/-/user/org.couchdb.user:theblacksmith/-rev/3-f18a79c01312290049758eabb2649dad
npm verb headers { date: 'Tue, 04 Nov 2014 21:05:03 GMT',
npm verb headers server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',
npm verb headers 'content-type': 'application/json',
npm verb headers 'cache-control': 'max-age=60',
npm verb headers 'content-length': '203',
npm verb headers 'accept-ranges': 'bytes',
npm verb headers via: '1.1 varnish',
npm verb headers 'x-served-by': 'cache-atl6221-ATL',
npm verb headers 'x-cache': 'MISS',
npm verb headers 'x-cache-hits': '0',
npm verb headers 'x-timer': 'S1415135103.017817,VS0,VE281',
npm verb headers 'keep-alive': 'timeout=10, max=50',
npm verb headers connection: 'Keep-Alive' }
npm verb request invalidating /Users/svallory/.npm/registry.npmjs.org/-/user/org.couchdb.user_3Atheblacksmith on PUT
npm verb adduser back [ { [Error: forbidden may not mix password_sha and pbkdf2
npm verb adduser You may need to upgrade your version of npm:
npm verb adduser npm install npm -g
npm verb adduser Note that this may need to be run as root/admin (sudo, etc.)
npm verb adduser
npm verb adduser : -/user/org.couchdb.user:theblacksmith/-rev/3-f18a79c01312290049758eabb2649dad] statusCode: 403, code: 'E403' },
npm verb adduser { error: 'forbidden',
npm verb adduser reason: 'may not mix password_sha and pbkdf2\nYou may need to upgrade your version of npm:\n npm install npm -g\nNote that this may need to be run as root/admin (sudo, etc.)\n\n' },
npm verb adduser '{"error":"forbidden","reason":"may not mix password_sha and pbkdf2\\nYou may need to upgrade your version of npm:\\n npm install npm -g\\nNote that this may need to be run as root/admin (sudo, etc.)\\n\\n"}' ]
npm WARN adduser Incorrect username or password
npm WARN adduser You can reset your account by visiting:
npm WARN adduser
npm WARN adduser https://npmjs.org/forgot
npm WARN adduser
npm verb stack Error: forbidden may not mix password_sha and pbkdf2
npm verb stack You may need to upgrade your version of npm:
npm verb stack npm install npm -g
npm verb stack Note that this may need to be run as root/admin (sudo, etc.)
npm verb stack
npm verb stack : -/user/org.couchdb.user:theblacksmith/-rev/3-f18a79c01312290049758eabb2649dad
npm verb stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:234:14)
npm verb stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14)
npm verb stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:372:22)
npm verb stack at Request.emit (events.js:98:17)
npm verb stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1310:14)
npm verb stack at Request.emit (events.js:117:20)
npm verb stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1258:12)
npm verb stack at IncomingMessage.emit (events.js:117:20)
npm verb stack at _stream_readable.js:943:16
npm verb stack at process._tickCallback (node.js:419:13)
npm verb statusCode 403
npm verb cwd /Users/svallory/projects/theblacksmith/typescript-compiler
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "login"
npm ERR! node v0.10.33
npm ERR! npm v2.1.7
npm ERR! code E403
npm ERR! forbidden may not mix password_sha and pbkdf2
npm ERR! You may need to upgrade your version of npm:
npm ERR! npm install npm -g
npm ERR! Note that this may need to be run as root/admin (sudo, etc.)
npm ERR!
npm ERR! : -/user/org.couchdb.user:theblacksmith/-rev/3-f18a79c01312290049758eabb2649dad
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
npm verb exit [ 1, true ]
npm ERR! Please include the following file with any support request:
npm ERR! /Users/svallory/projects/theblacksmith/typescript-compiler/npm-debug.log