“npm i” displays broken output (“Enter passphrase for key…”) and spinner, and entering passphrase does nothing

14 views
Skip to first unread message

Stefan Monov

unread,
Apr 7, 2017, 5:58:46 PM4/7/17
to nodejs
This is on Ubuntu 16.04. Terminal emulator is Konsole 15.12.3. Node.js is 4.8.2, installed as described [here](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions).

What happens:

    $ npm i
    npm WARN package.json my-...@0.1.0 No repository field.
    npm WARN package.json my-...@0.1.0 No license field.
    -nter passphrase for key '/home/stefan/.ssh/id_rsa': Enter passphrase for key '/home/stefan/.ssh/id_rsa': /

That's how it displays it, with the duplication, with the (non-spinning) `/` at the end and with the (spinning) `-` instead of the `E` in `Enter`.

If I just press enter at this point, I get errors such as `Permission denied (publickey).` - understandable, as I haven't entered my passphrase.

If I enter my passphrase instead (while the cursor is at the spinner, and nothing visibly changes while typing), and *then* press enter, I get one more row of:

    -nter passphrase for key '/home/stefan/.ssh/id_rsa': \

... and nothing else happens. If I then press enter again, I get messages such as `Permission denied (publickey).` again.
Reply all
Reply to author
Forward
0 new messages