Abhishek Parikh Abhishek Parikh - 17 days ago 7
Node.js Question

npm adduser Incorrect username or password

I am newbie to npm. I am trying to create username password with npm.

Here is my code:

abhi@abhi-Lenovo-Z50-70:~/Desktop/CSS_HTML/With_JS$ npm adduser

Username: abhishek
Password:
Email: (this IS public) parikh5555@gmail.com



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 ERR! Linux 3.13.0-24-generic

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "adduser"

npm ERR! node v6.3.1

npm ERR! npm v3.10.3 npm ERR! code E401

npm ERR! Registry returned 401 for PUT on
http://registry.npmjs.org/-/user/org.couchdb.user:abhishek

Answer

Assuming you have the right username you have probably forgotten your password. From the docs you should use this link to reset.

The full documentation can be found by following this link where you can also register.