nodejs / snap

Node.js snap source and updater
MIT License
169 stars 38 forks source link

Node.js 22.1.0 installed instead of 22.4.0 #67

Closed MikeMcC399 closed 3 months ago

MikeMcC399 commented 3 months ago

Issue

sudo snap install node --classic --channel=22
node (22/stable) 22.1.0 from OpenJS Foundation (iojs✓) installed

installs outdated Node.js 22.1.0

Branch node22 is however showing in https://github.com/nodejs/snap/commit/5ed12ec4223f295b05e581127215f640d6ffaed4 that it was updated to 22.4.0.

Environment

Ubuntu 22.04.4 LTS

Desired

Node.js 22.4.0 (or later) should be installed when running

sudo snap install node --classic --channel=22

See https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V22.md for current latest Node.js 22.x

rvagg commented 3 months ago
Screenshot 2024-07-08 at 10 14 26 AM

Odd. The snap store has the last as 22.1, but the code everywhere has 22.4. Including the builds @ https://launchpad.net/~openjs/+snap/node22

Snap config in launchpad has this though:

Screenshot 2024-07-08 at 10 15 54 AM

It should have a track listed! I have no idea how that's fallen out since it was working. I'll set it to 22 and re-trigger the latest ones and we'll have to wait and see if it works.

rvagg commented 3 months ago
Screenshot 2024-07-08 at 12 42 51 PM

should be good now, thanks for reporting

MikeMcC399 commented 3 months ago

@rvagg

Thanks! I can confirm it's now installing 22.4.0 as expected.