{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/13596","repository_url":"https://api.github.com/repos/npm/npm","labels_url":"https://api.github.com/repos/npm/npm/issues/13596/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/13596/comments","events_url":"https://api.github.com/repos/npm/npm/issues/13596/events","html_url":"https://github.com/npm/npm/issues/13596","id":169744954,"number":13596,"title":"npm login doesn't send password","user":{"login":"jorio2311","id":1395558,"avatar_url":"https://avatars.githubusercontent.com/u/1395558?v=3","gravatar_id":"","url":"https://api.github.com/users/jorio2311","html_url":"https://github.com/jorio2311","followers_url":"https://api.github.com/users/jorio2311/followers","following_url":"https://api.github.com/users/jorio2311/following{/other_user}","gists_url":"https://api.github.com/users/jorio2311/gists{/gist_id}","starred_url":"https://api.github.com/users/jorio2311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorio2311/subscriptions","organizations_url":"https://api.github.com/users/jorio2311/orgs","repos_url":"https://api.github.com/users/jorio2311/repos","events_url":"https://api.github.com/users/jorio2311/events{/privacy}","received_events_url":"https://api.github.com/users/jorio2311/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-06T12:37:00Z","updated_at":"2016-08-06T12:42:29Z","closed_at":"2016-08-06T12:42:29Z","body":"#### I'm opening this issue because:\r\n\r\n  - [ ] npm is crashing.\r\n  - [ ] npm is producing an incorrect install.\r\n  - [X ] npm is doing something I don't understand.\r\n  - [ ] Other (_see below for feature requests_):\r\n\r\n#### What's going wrong?\r\nIf I'm trying to login `npm login` and type in my user credentials, i get an error that a password is required.\r\n\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'login' ]\r\n2 info using npm@1.3.10\r\n3 info using node@v0.10.25\r\n4 verbose adduser before first PUT { name: 'imanowl',\r\n4 verbose adduser   salt: 'XXXXX',\r\n4 verbose adduser   password_sha: 'XXXXX',\r\n4 verbose adduser   email: 'oliver@czempas.de',\r\n4 verbose adduser   _id: 'org.couchdb.user:imanowl',\r\n4 verbose adduser   type: 'user',\r\n4 verbose adduser   roles: [],\r\n4 verbose adduser   date: '2016-08-06T12:33:32.258Z' }\r\n5 verbose url raw /-/user/org.couchdb.user:imanowl\r\n6 verbose url resolving [ 'https://registry.npmjs.org/',\r\n6 verbose url resolving   './-/user/org.couchdb.user:imanowl' ]\r\n7 verbose url resolved https://registry.npmjs.org/-/user/org.couchdb.user:imanowl\r\n8 info trying registry request attempt 1 at 14:33:32\r\n9 http PUT https://registry.npmjs.org/-/user/org.couchdb.user:imanowl\r\n10 http 400 https://registry.npmjs.org/-/user/org.couchdb.user:imanowl\r\n11 verbose adduser back [ [Error: ValidationError: child \"password\" fails because [\"password\" is required] : -/user/org.couchdb.user:imanowl],\r\n11 verbose adduser   { ok: false,\r\n11 verbose adduser     error: 'ValidationError: child \"password\" fails because [\"password\" is required]' },\r\n11 verbose adduser   '{\"ok\":false,\"error\":\"ValidationError: child \\\\\"password\\\\\" fails because [\\\\\"password\\\\\" is required]\"}' ]\r\n12 error Error: ValidationError: child \"password\" fails because [\"password\" is required] : -/user/org.couchdb.user:imanowl\r\n12 error     at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:272:14)\r\n12 error     at Request.self.callback (/usr/lib/nodejs/request/index.js:148:22)\r\n12 error     at Request.EventEmitter.emit (events.js:98:17)\r\n12 error     at Request.<anonymous> (/usr/lib/nodejs/request/index.js:896:14)\r\n12 error     at Request.EventEmitter.emit (events.js:117:20)\r\n12 error     at IncomingMessage.<anonymous> (/usr/lib/nodejs/request/index.js:847:12)\r\n12 error     at IncomingMessage.EventEmitter.emit (events.js:117:20)\r\n12 error     at _stream_readable.js:920:16\r\n12 error     at process._tickCallback (node.js:415:13)\r\n13 error If you need help, you may report this log at:\r\n13 error     <http://github.com/isaacs/npm/issues>\r\n13 error or email it to:\r\n13 error     <npm-@googlegroups.com>\r\n14 error System Linux 3.13.0-32-generic\r\n15 error command \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"login\"\r\n16 error cwd /home/oliver/PTC-Creator\r\n17 error node -v v0.10.25\r\n18 error npm -v 1.3.10\r\n19 verbose exit [ 1, true ]\r\n\r\n### supporting information:\r\n\r\n - `npm -v` prints: 1.3.10\r\n - `node -v` prints: v0.10.25\r\n - `npm config get registry` prints: https://registry.npmjs.org/\r\n - Windows, OS X, or Linux?: Linux\r\n - Network issues:\r\n   - Geographic location where npm was run:\r\n   - [ ] I use a proxy to connect to the npm registry.\r\n   - [ ] I use a proxy to connect to the web.\r\n   - [ ] I use a proxy when downloading Git repos.\r\n   - [ ] I access the npm registry via a VPN\r\n   - [X ] I don't use a proxy, but have limited or unreliable internet access.\r\n"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/238021599","html_url":"https://github.com/npm/npm/issues/13596#issuecomment-238021599","issue_url":"https://api.github.com/repos/npm/npm/issues/13596","id":238021599,"user":{"login":"jorio2311","id":1395558,"avatar_url":"https://avatars.githubusercontent.com/u/1395558?v=3","gravatar_id":"","url":"https://api.github.com/users/jorio2311","html_url":"https://github.com/jorio2311","followers_url":"https://api.github.com/users/jorio2311/followers","following_url":"https://api.github.com/users/jorio2311/following{/other_user}","gists_url":"https://api.github.com/users/jorio2311/gists{/gist_id}","starred_url":"https://api.github.com/users/jorio2311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorio2311/subscriptions","organizations_url":"https://api.github.com/users/jorio2311/orgs","repos_url":"https://api.github.com/users/jorio2311/repos","events_url":"https://api.github.com/users/jorio2311/events{/privacy}","received_events_url":"https://api.github.com/users/jorio2311/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T12:42:29Z","updated_at":"2016-08-06T12:42:29Z","body":"Update to the newest version"}}
{"actor":{"display_login":"jorio2311"}}