verdaccio-github-oauth-ui
verdaccio-github-oauth-ui copied to clipboard
Linux Manjaro: Stuck during login with npx verdaccio-github-oauth-ui at "[github-oauth-ui] Running command: npm config list --json"
Bug Report
Versions
Version | |
---|---|
Verdaccio | 5.31.0 |
This plugin | 6.0.8 |
Environment
Name | Version | |
---|---|---|
Browser | Firefox / Chrome | 125 / 124 |
Operating system | Linux |
Observed behavior
Loggin in via the web-interface works but via the console it is stuck at [github-oauth-ui] Running command: npm config list --json
I'm logging in via npx verdaccio-github-oauth-ui --registry https://npm.pkg.holoride.com/
Expected behavior
The command should either produce and error or log me in.
Steps to reproduce
Run the login command without any npm settings (I've deleted ~/.npmrc and the ~/.npm folder)
Additional context
To help in bug hunting this is the verbose output which seems to be successful:
❯ npx -dd verdaccio-github-oauth-ui --registry https://npm.pkg.holoride.com/
npm verbose cli /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js
npm info using [email protected]
npm info using [email protected]
npm verbose title npm exec verdaccio-github-oauth-ui --registry https://npm.pkg.holoride.com/
npm verbose argv "exec" "--loglevel" "verbose" "--" "verdaccio-github-oauth-ui" "--registry" "https://npm.pkg.holoride.com/"
npm verbose logfile logs-max:10 dir:/home/frieder/.npm/_logs/2024-05-21T08_36_55_526Z-
npm verbose logfile /home/frieder/.npm/_logs/2024-05-21T08_36_55_526Z-debug-0.log
npm http fetch GET 200 https://registry.npmjs.org/verdaccio-github-oauth-ui 739ms (cache revalidated)
[github-oauth-ui] Version: [email protected]
[github-oauth-ui] Running command: npm config list --json
npm verbose cli /usr/bin/node /usr/bin/npm
npm info using [email protected]
npm info using [email protected]
npm verbose title npm config list
npm verbose argv "config" "list" "--json"
npm verbose logfile logs-max:10 dir:/home/frieder/.npm/_logs/2024-05-21T08_36_57_201Z-
npm verbose logfile /home/frieder/.npm/_logs/2024-05-21T08_36_57_201Z-debug-0.log
npm verbose exit 0
npm info ok
Edit: It seems that the generated token from the ui doesn't work:
npm error code E401
npm error Unable to authenticate, your authentication token seems to be invalid.
npm error To correct this please try logging in again with:
npm error npm login