From 6b4cad768dff60e328163497f7660dfbe7d63ec2 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 20 Nov 2021 15:19:17 +0100 Subject: [PATCH] [mod] NVM: pin Node.js to v16.13.0 Signed-off-by: Markus Heiser --- .nvmrc | 1 + utils/lib_nvm.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..5dbac1ed0 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v16.13.0 \ No newline at end of file diff --git a/utils/lib_nvm.sh b/utils/lib_nvm.sh index 77e9eabf5..486146312 100755 --- a/utils/lib_nvm.sh +++ b/utils/lib_nvm.sh @@ -154,12 +154,12 @@ nvm.status() { info_msg "NVM is installed at ${NVM_DIR}" else warn_msg "NVM is not installed" - info_msg "to install NVM and Node.js (LTS) use: ${main_cmd} nvm install --lts" + info_msg "to install NVM and Node.js (LTS) use: ${main_cmd} nvm.nodejs" fi } nvm.nodejs() { - nvm install --lts + nvm install nvm.status }