Update Node.js version to latest LTS
Update Node.js version to latest LTS for security fixes, https://nodejs.org/en/download/releases/
We also need at least npm@^3
npm@^5
(for package-lock.json
) for everything to install correctly.
This is configured in https://gitlab.com/gl-infra/gitter-infrastructure but I am not sure how to update all of the boxes after the config is updated. It doesn't update on webapp deploy because I previously changed to npm 3 and had to manually install it on the beta box.
Update: Perhaps something like this,
$ cd /opt/gitter-infrastructure/ansible
$ ansible-playbook -i beta playbooks/site.yml -t node_alt_versions --check --diff
$ ansible-playbook -i beta playbooks/site.yml -t node_alt_versions --diff
Edited by Eric Eastwood