np
np copied to clipboard
GitHub login prompt not displayed
Description
When running np
there doesn't appear to be any "username/password" prompt to enter the GitHub credentials at the 'Publishing tags' step. Or at least it may be hidden.
After several minutes with nothing happening I pressed enter a few times and saw it failed to validate the credentials. So, I re-ran and when it got to 'Publishing tags', I guessed it was waiting for my credentials and entered my username, pressed Enter, then entered my password, pressed Enter, and it worked.
Is this the expected behavior? Should there be a "username/password" prompt visible?
Steps to reproduce
-
./node_modules/.bin/np
- Wait for 'Publishing tags' spinning cursor
- Nothing happens. No "username:" like prompt.
Expected behavior
A visible prompt that asks the user to enter a GitHub username and password.
Environment
np - 5.0.2 Node.js - 12.2.0 npm - 6.9.0 Git - 2.17.1 OS - Ubuntu 18.04.2 LTS
Can confirm, ran into this today.
Can be a duplicate of issue #79. I was working on a solution in PR #448.
Closing due to age. The suggested solution is to avoid having to enter user and password every time you interact with git.