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.

prompt missing after a recent npm update

See original GitHub issue

The prompt is missing after invoking those commands, both in bash & zsh:

$ npm -g i david@7.0.2
$ david

This is happening on OS X 10.11.5 in Terminal.app.

This is related to the new progress bar in npm 3.10.x. If I revert the internal david npm copy to the latest 3.9, it works fine. With npm 3.10 internally the only way to get the prompt back is to invoke some npm command that shows the new progress bar like npm install.

I’d report an issue to npm but npm itself cleans up after its own commands just fine… So I’m not sure if it’s an npm issue or is david interacting with it in a weird way.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mgolcommented, Jan 24, 2017

In david 10.1.0 I don’t see a progress bar and, therefore, the cursor no longer disappears. Was that an intended change or did sth change accidentally?

0reactions
jpaulincommented, Jan 25, 2017

Indeed, fixed. I’m on Ubuntu 16.04 and using David from xterm terminal. No longer disappearing cursors. The 9.x.x and 10.1.0 versions have same dependencies, so I would guess it’s the new code that fixed this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm start missing script: start - Stack Overflow
In this case, you have the error: "npm ERR! missing script: start" ... This means you need to add a script in the...
Read more >
npm-update
This command will update all the packages listed to the latest version ... all packages in the specified location (global or local) will...
Read more >
[BUG] npm install will randomly hang forever and cannot be ...
When running npm install it will sometimes hang at a random point. When it does this, it is stuck forever. CTRL+C will do...
Read more >
npm command not found | Career Karma
In the “System Variables” box, search for Path and edit it to include the path C:\Program Files\nodejs. If you don't see it there...
Read more >
How To Use Node.js Modules with npm and package.json
You will then use it to keep track of all the modules you install in your project. Finally, you will list your package...
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