1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 04:01:40 +01:00

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

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-11-20 15:19:17 +01:00
parent 3e2f3900b8
commit 6b4cad768d
2 changed files with 3 additions and 2 deletions

1
.nvmrc Normal file
View File

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

View File

@ -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
}