isaacs/npm — Issue #1751: npm fails on github http links for submodules
Author: puzrin
Created: 2011-11-22 06:06:23+00:00
State: open

Lately github redirected http -> https for tarballs. Now npm fails with all packages, that required submodules via http.

https://github.com/nodeca/ndoc/blob/master/package.json#L18

Until protocol fix, npm reported "Error: Cannot resume() closed Socket". I think, npm sould follow redirects while download, at least for github.