mirror of
https://github.com/Installomator/Installomator.git
synced 2026-03-08 03:22:12 +00:00
Broken app label: [nodejs] #130
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@thangarajua commented on GitHub:
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.
@acodega commented on GitHub:
I believe #2041 is addressing this