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

npm logout command leaves associated scope #10529

Closed
joedragons opened this issue Nov 23, 2015 · 0 comments
Closed

npm logout command leaves associated scope #10529

joedragons opened this issue Nov 23, 2015 · 0 comments
Labels

Comments

@joedragons
Copy link

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.

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

No branches or pull requests

2 participants