npm versions higher than 6.1.0 cannot be installed
osher opened this issue · comments
actually, the hpm repository changed.
Error is:
Error: Failed to read response from https://codeload.github.com/npm/npm/tar.gz/v6.4.1
at Request.<anonymous> (C:\ws\nodist\lib\build.js:110:25)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestResponse (C:\ws\nodist\node_modules\request\request.js:954:10)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:473:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
at TLSSocket.socketOnData (_http_client.js:362:20)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at TLSSocket.Readable.push (_stream_readable.js:134:10)
at TLSWrap.onread (net.js:551:20)
because the correct URL now is:
https://codeload.github.com/npm/cli/tar.gz/v6.4.1
instead of
https://codeload.github.com/npm/npm/tar.gz/v6.4.1
A new version is coming out today that merged #222 to fix this issue.