Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on timeout errors when on slow connection #104

Closed
DrorT opened this issue Feb 22, 2016 · 1 comment
Closed

Crash on timeout errors when on slow connection #104

DrorT opened this issue Feb 22, 2016 · 1 comment

Comments

@DrorT
Copy link
Contributor

DrorT commented Feb 22, 2016

Hey,
The package is great and helps a lot especially on very slow connections, but on big installs local-npm will crash a few times as a result of Timeouts with the following error -
events.js:141
throw er; // Unhandled 'error' event
^

Error: connect ETIMEDOUT 199.27.79.162:443
at Object.exports._errnoException (util.js:856:11)
at exports._exceptionWithHostPort (util.js:879:20)
at TCPConnectWrap.afterConnect as oncomplete

In cases like this 'npm install' will keep on running and restarting local-npm will allow for it to continue installation. But unless I am watching local-npm I sometimes miss the crash and the time for install gets longer.

Changing the way local-npm works to issue a warning but continue retrying will be a fix for this.

Thanks

@nolanlawson
Copy link
Member

0506206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants