Skip to content
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

ansible: update www Node.js version #3967

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

richardlau
Copy link
Member

Update the version of Node.js used on the www server from Node.js 16 (16.20.2) to Node.js 22 (22.11.0).

Refs: #3958 (comment)

Update the version of Node.js used on the www server from Node.js 16
(16.20.2) to Node.js 22 (22.11.0).
@richardlau
Copy link
Member Author

Since we don't run the Ansible scripts against the live server, I've run:

$ apt-get remove nodejs
$ rm /etc/apt/sources.list.d/nodesource.list*
$ bash -c 'curl -sL https://deb.nodesource.com/setup_22.x | bash -'
$ apt-get install nodejs

to remove the old Node.js version (16.20.2) and Nodesource repositories, and add the new repository and install Node.js from that (which installed Node.js 22.11.0).

root@infra-digitalocean-ubuntu1604-x64-1:~# node -v
v22.11.0
root@infra-digitalocean-ubuntu1604-x64-1:~#

@richardlau richardlau merged commit 71b538e into nodejs:main Nov 26, 2024
1 check passed
@richardlau richardlau deleted the www-nodejs branch November 26, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants