Skip to content

Can't use npm-cli-login behind proxy #58

@mhalp

Description

@mhalp

Hi,
I'm trying to use npm-cli-login to login to our private registry (verdaccio) behind a proxy
but running the command:
npm-cli-login -u my_user -p my_pass -e my.mail@org.com -r https://verdaccio_registry

Get the error:
Error: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 8080 8080:80
which is a proxy error

I tried to add npmrc path with the proxy settings, no change

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions