Skip to content

adduser gives HTTP:403 #67

@cdietrich

Description

@cdietrich

I try to setup sinopia locally.
starting sinopia gives me

# ./sinopia
Config file doesn't exist, create a new one? (Y/n) y
===========================================================
 Creating a new configuration file: "./config.yaml"

 If you want to setup npm to work with this registry,
 run following commands:

 $ npm set registry http://localhost:4873/
 $ npm set always-auth true
 $ npm adduser
   Username: admin
   Password: <Password>
===========================================================
 warn  --- Server is listening on http://localhost:4873/

now i try to configure my npm to use this repo

npm set registry http://localhost:4873/
npm set always-auth true
npm adduser

this does not work

C:\ba_dev10\jsx>npm adduser
Username: admin
Password:
Email: (this IS public) x@y.de
npm http PUT http://localhost:4873/-/user/org.couchdb.user:admin
npm http 403 http://localhost:4873/-/user/org.couchdb.user:admin
npm ERR! registry error parsing json
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

what could cause this problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions