Skip to content

[BUG] npm shows spinner while waiting for passwordΒ #7583

@jeffrson

Description

@jeffrson

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

Since version 10.7, when the "spinner" was introduced (I dislike it for various reasons, ugly flickering a.s.o., but wont discuss it here further since it's not related), the password prompt of npm login is misleading.
Instead of waiting behind "Password:" it shows the spinner, indicating some "progress" that does not happen. Instead it's actually waiting for the password which has to be typed or inserted while according to the spinner npm seems busy.
It appears as if the password prompt is skipped.

Expected Behavior

Clearly indicate that npm is waiting for the password to be entered.

Steps To Reproduce

Simply execute npm login, type some username. Enjoy :-/

Environment

  • npm: 10.8.1
  • Node.js: 20.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingPriority 2secondary priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions