Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

npm adduser does not work #199

Open
ghost opened this issue Sep 18, 2014 · 0 comments
Open

npm adduser does not work #199

ghost opened this issue Sep 18, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 18, 2014

I try to add user to my local npm registry on CouchDB 1.6.1. It always fails with the message: "npm ERR! Error: illegal_database_name Name: '-'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a letter.: -/user/org.couchdb.user:xyz". CouchDB server seem not to accept DB name with a dash '-':

[Thu, 18 Sep 2014 15:08:51 GMT] [debug] [<0.1735.0>] Minor error in HTTP request: {error,
illegal_database_name,"-"}
[Thu, 18 Sep 2014 15:08:51 GMT] [debug] [<0.1735.0>] Stacktrace: [{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request_int,5},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3}]
[Thu, 18 Sep 2014 15:08:51 GMT] [info] [<0.1735.0>] 127.0.0.1 - - PUT /-/user/org.couchdb.user:xyz 400
[Thu, 18 Sep 2014 15:08:51 GMT] [debug] [<0.1735.0>] httpd 400 error response:
{"error":"illegal_database_name","reason":"Name: '-'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a letter."}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants