question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm-check -u doesn't work on Windows + Mintty

See original GitHub issue

Hi! I installed this tool yesterday and so far I’m loving the reports 😄, but I cannot seem to make it work in interactive mode. After I start npm-check -u I get the “Choose which packages…” screen, but I cannot select anything, pressing space has no effect, neither the cursor keys, and if I press enter I get garbled text on top of what it was already on screen.

My specs:

  • Windows 7 x64
  • npm v3.5.3
  • node v5.5.0
  • Using the Gitbash terminal that comes with Git for Windows (Mintty)

I don’t have issues with other command line tools. BTW the emojis are not showing, but I think that’s a Windows limitation, isn’t it?

Thanks a lot.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:2
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
aziraphalecommented, May 10, 2016

Ooh, this is interesting. I just ran npm-check -u because it’s at least a pretty listing of my outdated packages. When it displayed that list (of one outdated package), I spammed the spacebar a bit in frustration, then hit enter, and to my surprise I found that it actually started updating the one package that it had listed - so it looks like npm-check is receiving the keypresses (the spacebar, at least - I can’t confirm arrow keys), but merely fails to update the display.

Hopefully that’ll help pin down the issue, whether that’s in npm-check or Inquirer.

0reactions
Christilutcommented, Jul 10, 2017

I have this issue too.

  • Git bash
  • Windows 10
  • Node 8.1.2
  • Npm 5.1.0

Works fine in powershell, no special parameters needed

Read more comments on GitHub >

github_iconTop Results From Across the Web

How come npm install doesn't work on git bash - Stack Overflow
The default terminal emulator installed by git is named Mintty. To run npm with Mintty, you need to add the path to an...
Read more >
npm-check
Features. Tells you what's out of date. Provides a link to the package's documentation so you can decide if you want the update....
Read more >
How to execute .sh file on Windows? - Super User
Right click desktop and say "git bash here". Execute your script like in unix. Done! Caution: Many commands won't work on windows! But...
Read more >
How To Install Git Bash On Windows - Stanley Ulili
In this tutorial you will install Git Bash on your Windows operating system. ... shell from bash, which git doesn't support out of...
Read more >
Deploy an Azure Pipelines agent on Windows - Microsoft Learn
But if you'd like some more background about what they do and how they work, see Azure Pipelines agents. Check prerequisites. Make sure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found