From f265a9a13fb9c816a6411bc240f3c4fc2a822cb0 Mon Sep 17 00:00:00 2001 From: Pierre Tomasina Date: Mon, 6 Apr 2020 14:12:56 +0200 Subject: [PATCH] Fix migration nodejs --- docs/migration.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/migration.md b/docs/migration.md index cbe664f..59b5439 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -24,12 +24,21 @@ theses services are now part as side containers and can be activated using envir ## Update nodejs version -We are no longer using nvm to change nodejs version, inside you should follow the example below. +We are no longer using nvm to change nodejs version. +If in your configuration, you are using something like this -```xml -sh $(NVM_DIR)/nvm.sh -sudo su -c "source /etc/profile ; nvm install 10.16.3 -reinstall-packages-from=v5.4.1 ; nvm alias default 10.16.3 ; nvm list" +`sudo su -c "source /etc/profile ; nvm install 10.16.3 -reinstall-packages-from=v5.4.1"` + +You must replace it by using `n` progam (more information on https://github.com/tj/n) + +```bash +n lts +OR +n 12.16 +OR +n 12.16.1 ``` + ## Missing commands Commands listed below are missing: