keymetrics / pm2-plus-tech-questions

http://docs.keymetrics.io/docs/pages/faq-troubleshooting/
27 stars 3 forks source link

nvm use causes pm2: command not found #320

Open RUSHt opened 8 months ago

RUSHt commented 8 months ago

Hi,

I am needing to upgrade an EC2 instance ( node / mongodb driver ).

After I run 'nvm use v13.12.0' then I get pm2: command not found. ( after pm2 restart ).

If I exit shell node is back to the previous version ( ie, back to square one ! ).

Any suggestions welcome.

RUSHt