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.

Browser was freeze when running `npm install` in the console.

See original GitHub issue

Reproduction Steps:

  1. Setup node environment
  2. Get an application contains packages.json via GitHub or somewhere.
  3. Run npm install
  4. Browser is hang up. Browser’s console shows 504 error in ws://.../connect

This is not 100% reproduction.

OS and version:

  • Version :5.18.0-SNAPSHOT
  • Revision :5231059555dc1838
  • Build Time :2017-09-08 13:45:52

Diagnostics:

I suspect the root cause is this NPE. screenshot 2017-09-10 at 15 48 44 - display 2

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
davidwindellcommented, Sep 12, 2017

We’ve also seen this issue quite a lot, but in our case when we copy a massive amount of files/directories from within a docker image into the workspace

1reaction
sr229commented, Sep 12, 2017

@monaka I was able to reproduce the NPE after some trials, so I can confirm this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install hangs - node.js - Stack Overflow
Turning off https solved everything for me. After upgrading node to the latest version, it started hanging randomly on installs. Now it works...
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 >
Running 'npm install' hangs and hangs... and hangs
Clear the npm cache ... The final step is to clear the npm cache with this command. ... And that's it. Now run...
Read more >
MAC browsers crash/refuse to open - SolarWinds THWACK
We have our NPM install (11.0 and 11.5.1) on IIS 7.5 using a properly obtained SSL (SHA2) certificate. On Macos (10.6/10.7) systems the...
Read more >
6 reasons your Node.js apps are failing - IBM Developer
1. Uncaught exceptions or error events in JavaScript code · 2. Excessive memory usage, which may result in an out-of-memory error · 3....
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