When installing Node Version Manager (NVM) through the Ploi panel it is only available to the root user. This should be available to all users including ploi.

Crowleks
Crowleks · · Edited

@Nathangeerinck btw when I tried to delete nvm from Manage page it showed me notification about success but I still can see /root/.nvm folder and nvm still works well for root user. So looks like deletion not working too.

Nathan Geerinck
Nathan Geerinck Item author · · Edited

Thank you for your feedback! We will investigate the deletion aswel.

Denis Yilmaz
Denis Yilmaz ·

any update on this?

Dennis
Dennis · · Edited

We issued a fix for this, uninstalling and installing should fix it now.

In your deploy script:

export NVM_DIR="$HOME/.nvm" 
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

nvm --version
nvm install 18
nvm use 18
node --version

NVM only available to root user

9 total votes
Quick Actions
Activity
View recent activity and updates
Use arrow keys to navigate