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

Update to NodeJS v16 #179

Closed
wincent opened this issue Dec 9, 2021 · 1 comment
Closed

Update to NodeJS v16 #179

wincent opened this issue Dec 9, 2021 · 1 comment
Labels

Comments

@wincent
Copy link
Owner

wincent commented Dec 9, 2021

Currently using v14.17.1 on the server, but current LTS version is v16.13.1.

Wouldn't be too hard to update because I am installing and building from source already anyway (via Ansible).

Nothing really pressing motivating this; just wanting to stay relatively up-to-date to avoid later headaches.

@wincent wincent added the chore label Dec 9, 2021
@wincent wincent changed the title Update NodeJS version Update to NodeJS v16 Aug 5, 2023
@wincent
Copy link
Owner Author

wincent commented Aug 5, 2023

Just tried going to 18.17.0, but had to back down to 16.21.0 — citing my commit from ansible-configs:


chore: downgrade NodeJS from v18.17.0 to v16.20.1

Same error as others reported here:

Amazon Linux 2 only has glibc 2.26:

$ ldd --version
ldd (GNU libc) 2.26
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

So trying to run NodeJS v18 will die:

$ /opt/node/bin/node --version
/opt/node/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /opt/node/bin/node)
/opt/node/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /opt/node/bin/node)

Updating glibc isn't viable, so will have to wait until moving to Amazon
Linux 2023:

Amazon Linux 2023 comes with NodeJS v18 anyway (18.12.1 at the time of
writing):


So, retitled this to "Update to NodeJS v16" and will close it, then create another issue for v18, marking it as blocked by the Amazon Linux 2023 ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant