Closed akg1817 closed 1 week ago
Have you tried using npm config ls -l
?
@akg1817 we are tracking similer issue here https://github.com/npm/cli/issues/7612
meanwhile can you try npm login --progress=true
and check if that fixes your issue ?
@akg1817 we are tracking similer issue here #7612
meanwhile can you try
npm login --progress=true
and check if that fixes your issue ?
same issue
Have you tried using
npm config ls -l
?
$ npm config ls -l ; "default" config from default values
_auth = (protected)
access = null
all = false
allow-same-version = false
also = null
audit = true
audit-level = null
auth-type = "web"
before = null
bin-links = true
browser = null
ca = null
cache = "C:\Users\
; "builtin" config from C:\Program Files\nodejs\node_modules\npm\npmrc
prefix = "C:\Users\
; "user" config from C:\Users\
registry = "https://
; "cli" config from command line options
long = true
@akg1817 Check if npm login --auth-type=legacy
works ?
@akg1817 Check if
npm login --auth-type=legacy
works ?
I'm sure this will work, but I would like to prevent from having to login every time my password changes. Why does the token approach not work?
@akg1817 we are tracking similer issue here #7612
The exact cause/test scenario of this issue is still ambiguous and it happens intermittently for windows mainly, as a workaround you can use
auth-type=legacy
if it works for you.
I am going to attach/mention this issue in the one which we are tracking and will close this as duplicate.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
while trying to perform an npm login, I am experiencing an error "Exit handler never called!" 2024-09-06T16_38_10_340Z-debug-0.log
Expected Behavior
npm login should prompt for login credentials
Steps To Reproduce
Environment
prefix = "C:\Users\\AppData\Roaming\npm"
; "user" config from C:\Users\.npmrc
registry = "https:///artifactory/api/npm/npm-repo/"
; node bin location = C:\Program Files\nodejs\node.exe ; node version = v22.7.0 ; npm local prefix = Z:\DevSpace ; npm version = 10.8.2 ; cwd = Z:\DevSpace ; HOME = C:\Users\
; Run
npm config ls -l
to show all defaults.