forked from Ponysearch/Ponysearch
[mod] NVM: pin Node.js to v16.13.0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
3e2f3900b8
commit
6b4cad768d
2 changed files with 3 additions and 2 deletions
1
.nvmrc
Normal file
1
.nvmrc
Normal file
|
@ -0,0 +1 @@
|
|||
v16.13.0
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue