Bug 1220472 - npm fails to login
Summary: npm fails to login
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nodejs-npm-registry-client
Version: 21
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: T.C. Hollingsworth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-11 15:24 UTC by hardillb@gmail.com
Modified: 2015-06-05 23:51 UTC (History)
3 users (show)

Fixed In Version: nodejs-npm-registry-client-0.2.28-3.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-26 03:32:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description hardillb@gmail.com 2015-05-11 15:24:01 UTC
Description of problem:
npm fails to authenticate in order to push new/updated packages

Version-Release number of selected component (if applicable):
npm version 1.3.6

How reproducible:
Try to login to npm on the command line

Steps to Reproduce:
1. Run "npm login" or "npm adduser"
2. Enter username/password and email address that correspond to npmjs.org account
3. crash

Actual results:
$ npm login
Username: hardillb
Password: 
Email: hardillb@xxxxxx
npm http PUT https://registry.npmjs.org/-/user/org.couchdb.user:hardillb
npm http 400 https://registry.npmjs.org/-/user/org.couchdb.user:hardillb
npm ERR! Error: Unknown error while authenticating : -/user/org.couchdb.user:hardillb
npm ERR!     at RegClient.<anonymous> (/usr/lib/node_modules/npm-registry-client/lib/request.js:272:14)
npm ERR!     at Request.self.callback (/usr/lib/node_modules/request/index.js:148:22)
npm ERR!     at Request.emit (events.js:98:17)
npm ERR!     at Request.<anonymous> (/usr/lib/node_modules/request/index.js:891:14)
npm ERR!     at Request.emit (events.js:117:20)
npm ERR!     at IncomingMessage.<anonymous> (/usr/lib/node_modules/request/index.js:842:12)
npm ERR!     at IncomingMessage.emit (events.js:117:20)
npm ERR!     at _stream_readable.js:944:16
npm ERR!     at process._tickCallback (node.js:442:13)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm->

npm ERR! System Linux 3.19.5-100.fc20.x86_64
npm ERR! command "node" "/usr/bin/npm" "login"
npm ERR! cwd /opt/share/projects/foo
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /opt/share/projects/cio-bluemix/npm-debug.log
npm ERR! not ok code 0


Expected results:
No output, but a valid .npmrc written to users home dir

Additional info:
Latest version of npm seams to work properly (2.9.1)

Comment 1 Fedora Update System 2015-05-16 21:33:29 UTC
nodejs-npm-registry-client-0.2.28-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/nodejs-npm-registry-client-0.2.28-3.fc21

Comment 2 Fedora Update System 2015-05-16 21:34:04 UTC
nodejs-npm-registry-client-0.2.28-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/nodejs-npm-registry-client-0.2.28-3.fc20

Comment 3 Fedora Update System 2015-05-16 21:34:41 UTC
nodejs-npm-registry-client-0.2.28-3.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/nodejs-npm-registry-client-0.2.28-3.el7

Comment 4 Fedora Update System 2015-05-16 21:35:28 UTC
nodejs-npm-registry-client-0.2.28-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/nodejs-npm-registry-client-0.2.28-3.el6

Comment 5 Fedora Update System 2015-05-16 21:36:00 UTC
nodejs-npm-registry-client-0.2.28-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/nodejs-npm-registry-client-0.2.28-3.fc22

Comment 6 Fedora Update System 2015-05-17 20:34:21 UTC
Package nodejs-npm-registry-client-0.2.28-3.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing nodejs-npm-registry-client-0.2.28-3.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-8437/nodejs-npm-registry-client-0.2.28-3.fc22
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-05-26 03:32:14 UTC
nodejs-npm-registry-client-0.2.28-3.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-06-04 15:56:08 UTC
nodejs-npm-registry-client-0.2.28-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-06-04 15:58:31 UTC
nodejs-npm-registry-client-0.2.28-3.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-06-05 23:37:40 UTC
nodejs-npm-registry-client-0.2.28-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-06-05 23:51:58 UTC
nodejs-npm-registry-client-0.2.28-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.