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 view in stubbed-out npm-world hangs

See original GitHub issue

Not sure if this is a problem with my setup or if it’s a problem with how-to-npm, but when I do npm view my-package-name as instructed by the verification message in challenge 07 (Publish), it just hangs. Outside the directory I created for the how-to-npm workshopper, npm view whatever works just fine, returning data about packages that exist or an 404 error for packages that don’t exist.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:2
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
sawantcommented, Mar 25, 2016

Here’s a solution that worked for me:

  1. Run how-to-npm, and go back to the Login task (even if it’s completed)
  2. Do the login task again
  3. Once done, verify
  4. Run how-to-npm, and go to the Publish task
  5. Carry it out and verify

That worked for me.

1reaction
sawantcommented, Mar 25, 2016

The problem is that for some reason, the local registry stops working, so to trigger it to start working again, one has to go back to the Login step.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install hangs - node.js - Stack Overflow
To see if your container (or even your host) can resolve hosts, you can try running: curl https://github.com . In my case I...
Read more >
[BUG] npm install will randomly hang forever and cannot be ...
I've tried using Process Explorer to check for handles to files in the project directory from other processes but there are none. There...
Read more >
Common errors | npm Docs
npm hangs on Windows at addRemoteTarball​​ Look for lines defining the tmp config variable. If you find more than one, remove all but...
Read more >
npm-view
This command shows data about a package and prints it to stdout. As an example, to view information about the connect package from...
Read more >
wait-on - npm
wait-on is a cross platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become ......
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