Skip to content

Broken link on Downloading Node.js #7589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sheplu opened this issue Apr 1, 2025 · 8 comments
Open

Broken link on Downloading Node.js #7589

sheplu opened this issue Apr 1, 2025 · 8 comments

Comments

@sheplu
Copy link
Member

sheplu commented Apr 1, 2025

This issue seems to be happening when looking the website with Androind and Chrome - I did not check with other browser yet

Issue: when clicking on the download button on the nodejs.org website, when using the previous stated config you are redirected to a page crashing as the link does not seems to exist

Impacted link: https://nodejs.org/dist/v22.14.0/node-v22.14.0-linux-x86.tar.xz

I will submit a PR to fix it :)

@aduh95 aduh95 transferred this issue from nodejs/release-cloudflare-worker Apr 1, 2025
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Node.js Website Apr 1, 2025
@bmuenzenmeyer
Copy link
Collaborator

FWIW - it works on my machine (Windows, Chrome), so curious to learn more what is at fault here

@MikeMcC399
Copy link
Contributor

@sheplu

According to https://nodejs.org/en/blog/release/v22.14.0 there is no file node-v22.14.0-linux-x86.tar.xz.

The nearest would be Linux 64-bit Binary: https://nodejs.org/dist/v22.14.0/node-v22.14.0-linux-x64.tar.xz

@bjohansebas
Copy link
Member

@bjohansebas
Copy link
Member

I really can't reproduce this issue on Chrome for Android.

@ovflowd
Copy link
Member

ovflowd commented Apr 11, 2025

Maybe we should tag @nodejs/releasers @nodejs/release here as this isn't really a website issue, at best a Cloudflare Worker, but feels like something even deeper.

@aduh95
Copy link
Contributor

aduh95 commented Apr 11, 2025

No it's definitely a website issue if the website links to a release asset that doesn't exist, seems that Jean's mobile browser found some edge-case.

@ovflowd
Copy link
Member

ovflowd commented Apr 12, 2025

No it's definitely a website issue if the website links to a release asset that doesn't exist, seems that Jean's mobile browser found some edge-case.

You mean a website issue on the blog post? Or on the cloudflare worker or where exactly? Im still trying to understand what supposedly is wrong here 🤔

@aduh95
Copy link
Contributor

aduh95 commented Apr 17, 2025

There's a wrong assumption in

export const getUserPlatform = (
userArchitecture: Types.UserArchitecture | '',
userBitness: Types.UserBitness | ''
): Types.UserPlatform => {
if (userArchitecture === 'arm' && userBitness === '64') {
return 'arm64';
}
return userBitness === '64' ? 'x64' : 'x86';
};
which causes the wrong link to be generated in
case 'LINUX':
// Prepares a downloadable Node.js link for the ARM platforms such as
// ARMv7 and ARMv8
if (typeof platform === 'string') {
return `${baseURL}/node-${versionWithPrefix}-linux-${platform}.tar.xz`;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

6 participants