Node 18.19 takes forever to download
It takes forever to try and download node 18.19, in my 2 most recent pushes. The last 3rd push was about 20min ago and it downloaded fine and it only took 52s.
Also, I noticed that since I set
NODE_VERSION
to 18.19 it will always try to download it every build. Is there anyway to cache it on server instead?13 Replies
no way to cache it. If you don't need an exact minor version though, if you just specify the major and are using the new build image (default) all of the recent node major version releases are embedded into the build image so you can skip downloading entirely
Sadly
And apparently it just fails to download 18.19 completely and never halts
sadly nodejs's download cdn can be a fair bit spotty, I don't think they ever fixed that
oh the build image defaults to 18.17? rip
i could take the risk of downgrading my project to 18.17 and possibly break everything
probably not worth it. Retrying should succeed, or could upgrade to a newer node major (at risk of breaking stuff too)
it's still in the works
they have the new path deployed for nightly but not full releases yet afaik
Same issue here with Node version. Will this be fixed then? Or at least have a retry.
11:35:21.770 Detected the following tools from environment: [email protected], [email protected]
11:35:21.771 Installing nodejs 18.20.4
11:35:22.375 Trying to update node-build... ok
11:35:22.495 To follow progress, use 'tail -f /tmp/node-build.20240730153522.560.log' or pass --verbose
11:35:22.605 Downloading node-v18.20.4-linux-x64.tar.gz...
11:35:24.884 -> https://nodejs.org/dist/v18.20.4/node-v18.20.4-linux-x64.tar.gz
11:38:37.951 error: failed to download node-v18.20.4-linux-x64.tar.gz
11:38:37.951 -> https://nodejs.org/dist/v18.20.4/node-v18.20.4-linux-x64.tar.gz
11:43:19.918 error: failed to download node-v18.20.4-linux-x64.tar.gz
11:43:19.919
11:43:19.951 BUILD FAILED (Ubuntu 22.04 using node-build 4.9.122-780-g070006d7)
11:43:19.951
it isn't on our end so there is no fix for us
this is the best advice i can say
that looks like that did retry, failed multiple times with different timestamps, no?
Duh. Yeah I didn't read the full log.
https://nodejs.org/en/about/previous-releases
Actually is it worth updating to 20/22 now?
Node.js — Node.js Releases
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
And are any of these version in the build img?
20 and 22 are both in there by default
But you can use literally any you want