Open chadlwilson opened 1 week ago
I had a look around, and from what it looks like the NodeJS team officially dropped support for 32bit on v23.0.0, as such the package should also drop this support going forward (at least for that version and later).
@chadlwilson since you have created a PR to remove this support, I'll assign this issue to you.
Yeah, I mentioned they dropped support in the issue description :)
I created a PR primarily to unblock auto-updates for other versions including LTSes and the upcoming v22 LTS.
Personally I don't have any interest in non LTS or 32 bit Node releases so likely wont prioritise spending time figuring out how to alter the package in a canonical way for 64-bit only (to fail gracefully if attempted on 32-bit arch) ... unless someone can point me in the right direction. :)
Yeah, I mentioned they dropped support in the issue description :)
I completely missed that, but would have still added a comment with a link to where it was mentioned in the changelog.
Personally I don't have any interest in non LTS or 32 bit Node releases so likely wont prioritise spending time figuring out how to alter the package in a canonical way for 64-bit only (to fail gracefully if attempted on 32-bit arch) ... unless someone can point me in the right direction. :)
I understand, but in its current state we cannot pull that PR in. I can try pointing you into what I had in my mind when looking at this issue before I saw the PR you created.
VERIFICATION.txt
file and move it to its parent directory (renaming it to something like VERIFICATION.full.txt
).VEREFICATION.64.txt
VERIFICATION.64.txt
global:au_BeforeUpdate
to check if there is a 32bit URL, copying and replacing the original VERIFICATION.txt
file with the one that is appropriate.global:au_SearchReplace
to add an if
statement around the 32bit file and checksum when the 32bit URL is not available (only for the VERIFICATION.txt
replacement). This can be inline inside the hash table.Readme.md
file with a new Note list item that says something along the line of - 32bit installation is no longer supported for version 23.0.0 and later.
Additionally, you mentioned that you are only interested in LTS releases, if that is the case it is recommended to use the nodejs-lts package instead of the normal nodejs package.
It is by a different maintainer, and is not subjected to any issue with the update script in this repository.
Additionally, you mentioned that you are only interested in LTS releases, if that is the case it is recommended to use the nodejs-lts package instead of the normal nodejs package.
I'm aware of it. That package is typically too slow for my liking to get updates to come through compared to the auto-updated ones here. I install specific versions indexed elsewhere rather than "latest" so whether there are other versions newer than I'm interested in under the same package is not really relevant.
Checklist
Chocolatey Version
2.3.0
Chocolatey License
None
Package Version
23.0.0
Current Behaviour
Currently auto-updates for all NodeJS versions are blocked because v23 dropped 32-bit support and the auto-update script is failing with
This is as noted in https://github.com/chocolatey-community/chocolatey-packages/pull/2453#issuecomment-2426488448 and https://github.com/chocolatey-community/chocolatey-packages/issues/2555#issuecomment-2426449606
There is also a separate issue making this hard to see as the bot gist at https://gist.github.com/choco-bot/a14b1e5bfaf70839b338eb1ab7f8226f is not being updated (to separately be fixed).
Expected Behaviour
nodejs and nodejs.install packages should be available for 22.10.0 and ideally 23.0.0.
Steps To Reproduce
N/A
Environment
Chocolatey Log
Anything else?
No response