Browse Source

[mod] NVM: pin Node.js to v16.13.0

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Markus Heiser 3 years ago
parent
commit
6b4cad768d
2 changed files with 3 additions and 2 deletions
  1. 1 0
      .nvmrc
  2. 2 2
      utils/lib_nvm.sh

+ 1 - 0
.nvmrc

@@ -0,0 +1 @@
+v16.13.0

+ 2 - 2
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
 }