Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollback to nvm 0.33.11 and specify default Node version (16) (#732)
* Revert "install latest nvm from an up to date source" This reverts commit de105e1. * fix: Don't install a system version of Node `nvm --lts` appears to be installing Node v18. Node 18 has switched the version of `glibc`, and the version it wants does not seem to be present on the AMI. Given Node 18 enters a formal LTS in Oct 2022, and builds should be individually managing their node version, this change removes any system wide install of node. See: nodejs/node#42659 * Explicitly install latest Node 16 via NVM * Specify default alias We were getting errors when attempting to start TeamCity: N/A: version "N/A -> N/A" is not yet installed. teamcityagent.service: Control process exited, code=exited status=3 You need to run "nvm install N/A" to install it before using it. It looks like the default version is not wired up correctly: nvm ls v16.15.0 default -> lts/Gallium (-> N/A) Co-authored-by: Jacob Winch <jacob.winch@guardian.co.uk>
- Loading branch information