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

npm logout command leaves associated scope #10529

Closed
@joedragons

Description

@joedragons

I ran an npm login command as follows:
npm login --registry=http://localhost:8081/repository/npmhosted/ --scope=test

and these lines were added to my .npmrc:
//localhost:8081/repository/npmhosted/:_authToken=33524559-18c1-3590-bf4e-8336a6418edb
@test:registry=http://localhost:8081/repository/npmhosted/

On npm logouts, I was unable to get the @test scope to remove.
I tried npm login --registry=http://localhost:8081/repository/npmhosted/ --scope=test, npm logout --registry=http://localhost:8081/repository/npmhosted/ and npm logout --scope=test

Is this intentional?
It seems like undone cleanup that I subsequent have to do manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions