nodists / nodist

Natural node.js and npm version manager for windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installs are failing (HTTP 500 from nodejs.org)

harriha opened this issue · comments

Hi,

Noticed that installs are failing with HTTP 500 coming from nodejs.org. Also the list of iojs releases fails.

Changes in how files are laid out in nodejs.org/dist perhaps, or something actually broken in their end?

Related problems spotted from nvm issues as well (nvm-sh/nvm#2189 (comment))

$ DEBUG=nodist:* nodist add 12.16.0
  nodist:nodist fetchVersionList https://nodejs.org/dist/index.json +0ms
  nodist:nodist fetchVersionList https://iojs.org/dist/index.json +224ms
Could not list available iojs versions: HTTP 500
  nodist:nodist install request to install 12.16.0 +934ms
  nodist:nodist install 12.16.0 not already installed; installing... +1ms
  nodist:nodist getSourceUrlPrefix https://nodejs.org/dist/v12.16.0 +1ms
  nodist:nodist getRelativePathToExe win-x64/node.exe +0ms
  nodist:nodist getUrlToExe https://nodejs.org/dist/v12.16.0/win-x64/node.exe +1ms
  nodist:nodist getSourceUrlPrefix https://nodejs.org/dist/v12.16.0 +0ms
  nodist:nodist getUrlToShasum https://nodejs.org/dist/v12.16.0/SHASUMS256.txt +1ms
  nodist:nodist getVersionDir C:\Program Files (x86)\Nodist\v-x64\12.16.0 +0ms
  nodist:nodist getPathToExe C:\Program Files (x86)\Nodist\v-x64\12.16.0\node.exe +1ms
  nodist:nodist fetch new request https://nodejs.org/dist/v12.16.0/win-x64/node.exe https://nodejs.org/dist/v12.16.0/SHASUMS256.txt C:\Program Files (x86)\Nodist\v-x64\12.16.0\node.exe +0ms
  nodist:nodist fetch creating target dir +1ms
  nodist:nodist fetch starting download of binary +8ms
  nodist:nodist getVersionDir C:\Program Files (x86)\Nodist\v-x64\12.16.0 +351ms
  nodist:nodist getPathToExe C:\Program Files (x86)\Nodist\v-x64\12.16.0\node.exe +1ms
  nodist:nodist remove removing 12.16.0 C:\Program Files (x86)\Nodist\v-x64\12.16.0 +1ms
Could not fetch 12.16.0: HTTP 500.
Sorry.

Ok, this was apparently an issue with nodejs.org infra/Cloudflare (nodejs/build#2263), and seems to work now at least for me -> closing.