Broken app label: [nodejs] #130

Closed
opened 2026-01-19 18:32:54 +00:00 by michael · 2 comments
Owner

Originally created by @thangarajua on GitHub.

All questions must be filled out or your Issue will be closed for lack of information

What's wrong with the app label?
The Node.js URL https://nodejs.org/dist/latest is redirecting to https://nodejs.org/dist/v23.6.1/, and it is not downloading the latest version using Installomator.

I have tried to update the following, and it works, but I want to verify it since I’m a beginner in coding.

nodejs)
name="nodejs"
type="pkg"
appNewVersion=$(curl -I -s https://nodejs.org/dist/latest/ | grep -i "location" | sed -E 's|.v([0-9]+.[0-9]+.[0-9]+).|\1|')
appCustomVersion(){/usr/local/bin/node -v}
downloadURL="https://nodejs.org/dist/latest/node-v$(curl -I -s https://nodejs.org/dist/latest/ | grep -i "location" | sed -E 's|.v([0-9]+.[0-9]+.[0-9]+).|\1|').pkg"
expectedTeamID="HX7739G8FX"
;;

Have you confirmed this Issue has not been reported already? (Check open Issues and Pull requests)
I’ve checked and couldn’t find any open issues related to this.

Installomator version
What version are you running? You must include the version number and date. (Ex: Installomator v. 10.7beta, date 2024-08-31)
Installomator v10.7

Additional context
Add any other context about the problem here.

Installomator log

2025-01-28 11:00:33 : REQ : nodejs : Downloading https://nodejs.org/dist/latest/node-v.pkg to nodejs.pkg
2025-01-28 11:00:33 : ERROR : nodejs : error downloading https://nodejs.org/dist/latest/node-v.pkg
ls: nodejs.pkg: No such file or directory
2025-01-28 11:00:33 : ERROR : nodejs : File list:
2025-01-28 11:00:33 : ERROR : nodejs : File type: nodejs.pkg: cannot open `nodejs.pkg' (No such file or directory)
2025-01-28 11:00:33 : INFO : nodejs : Installomator did not close any apps, so no need to reopen any apps.
2025-01-28 11:00:33 : ERROR : nodejs : ERROR: Error downloading https://nodejs.org/dist/latest/node-v.pkg error:

Could not resolve host: nodejs.org
Closing connection
curl: (6) Could not resolve host: nodejs.org

Originally created by @thangarajua on GitHub. All questions must be filled out or your Issue will be closed for lack of information --- **What's wrong with the app label?** The Node.js URL **https://nodejs.org/dist/latest** is redirecting to **https://nodejs.org/dist/v23.6.1/**, and it is not downloading the latest version using Installomator. I have tried to update the following, and it works, but I want to verify it since I’m a beginner in coding. **nodejs) name="nodejs" type="pkg" appNewVersion=$(curl -I -s https://nodejs.org/dist/latest/ | grep -i "location" | sed -E 's|.v([0-9]+.[0-9]+.[0-9]+).|\1|') appCustomVersion(){/usr/local/bin/node -v} downloadURL="https://nodejs.org/dist/latest/node-v$(curl -I -s https://nodejs.org/dist/latest/ | grep -i "location" | sed -E 's|.v([0-9]+.[0-9]+.[0-9]+).|\1|').pkg" expectedTeamID="HX7739G8FX" ;;** **Have you confirmed this Issue has not been reported already? (Check open Issues and Pull requests)** I’ve checked and couldn’t find any open issues related to this. **Installomator version**<br>What version are you running? You must include the version number and date. (Ex: Installomator v. 10.7beta, date 2024-08-31) Installomator v10.7 **Additional context**<br>Add any other context about the problem here. **Installomator log**<br> 2025-01-28 11:00:33 : REQ : nodejs : Downloading https://nodejs.org/dist/latest/node-v.pkg to nodejs.pkg 2025-01-28 11:00:33 : ERROR : nodejs : error downloading https://nodejs.org/dist/latest/node-v.pkg ls: nodejs.pkg: No such file or directory 2025-01-28 11:00:33 : ERROR : nodejs : File list: 2025-01-28 11:00:33 : ERROR : nodejs : File type: nodejs.pkg: cannot open `nodejs.pkg' (No such file or directory) 2025-01-28 11:00:33 : INFO : nodejs : Installomator did not close any apps, so no need to reopen any apps. 2025-01-28 11:00:33 : ERROR : nodejs : ERROR: Error downloading https://nodejs.org/dist/latest/node-v.pkg error: Could not resolve host: nodejs.org Closing connection curl: (6) Could not resolve host: nodejs.org
michael added the application-issue label 2026-01-19 18:32:54 +00:00
Author
Owner

@thangarajua commented on GitHub:

I believe #2041 is addressing this

The vendor has released version 23.7.0 on 30th Jan 2025, and the URL is no longer redirecting to the versioned folder. However, the old URL is working fine: https://nodejs.org/dist/latest/, using our existing logic in the Installomator script.

@thangarajua commented on GitHub: > I believe [#2041](https://github.com/Installomator/Installomator/pull/2041) is addressing this The vendor has released version 23.7.0 on 30th Jan 2025, and the URL is no longer redirecting to the versioned folder. However, the old URL is working fine: https://nodejs.org/dist/latest/, using our existing logic in the Installomator script.
Author
Owner

@acodega commented on GitHub:

I believe #2041 is addressing this

@acodega commented on GitHub: I believe #2041 is addressing this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Installomator/Installomator#130