np icon indicating copy to clipboard operation
np copied to clipboard

GitHub login prompt not displayed

Open dpmcmlxxvi opened this issue 5 years ago • 2 comments

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

  1. ./node_modules/.bin/np
  2. Wait for 'Publishing tags' spinning cursor
  3. 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

dpmcmlxxvi avatar May 25 '19 03:05 dpmcmlxxvi

Can confirm, ran into this today.

TriangularCube avatar Jun 27 '19 23:06 TriangularCube

Can be a duplicate of issue #79. I was working on a solution in PR #448.

bunysae avatar Feb 17 '20 18:02 bunysae

Closing due to age. The suggested solution is to avoid having to enter user and password every time you interact with git.

fregante avatar Feb 03 '23 10:02 fregante