Installations have consistently been failing on my Linux machine, Ubuntu 22.04.1, as follows:
Downloading node-v16.15.0-linux-x64.tar.gz...
-> https://nodejs.org/dist/v16.15.0/node-v16.15.0-linux-x64.tar.gz
error: failed to download node-v16.15.0-linux-x64.tar.gz
-> https://nodejs.org/dist/v16.15.0/node-v16.15.0-linux-x64.tar.gz
error: failed to download node-v16.15.0-linux-x64.tar.gz
BUILD FAILED (Ubuntu 22.04 using node-build 4.9.92)
Binary installation failed; try compiling from source with `--compile` flag
I verified that the URL is correct, it is. I then noticed in the source code that aria2c is the preferred HTTP client:
|
for client in aria2c curl wget; do |
I uninstalled aria2c, and installation succeeded (presumably using curl):
Downloading node-v16.15.0-linux-x64.tar.gz...
-> https://nodejs.org/dist/v16.15.0/node-v16.15.0-linux-x64.tar.gz
Installing node-v16.15.0-linux-x64...
Installed node-v16.15.0-linux-x64 to /home/jgnieuwhof/.asdf/installs/nodejs/16.15.0
Don't know why.
Has this been seen before? Is there a reason why aria2c is the preferred client over curl or wget?
Installations have consistently been failing on my Linux machine, Ubuntu 22.04.1, as follows:
I verified that the URL is correct, it is. I then noticed in the source code that
aria2cis the preferred HTTP client:node-build/bin/node-build
Line 417 in ad13637
I uninstalled
aria2c, and installation succeeded (presumably using curl):Don't know why.
Has this been seen before? Is there a reason why
aria2cis the preferred client overcurlorwget?