I know that the docs says to remove nvm on production. But I can’t because I have other servers using nvm. And here’s the issue I have
I had earlier ghost setup using
node v12.x available at
/usr/bin/node. But later installed nvm for other projects on the same production machine. Now I need to upgrade node from
14.x because I want to upgrade ghost from
5.x. I run
nvm use 14.x to set the node env to 14. And then before jumping into upgrading the ghost version and messing around with the working setup, I ran
ghost doctor and I see that I get this error
Ghost v4.16.0 is not compatible with Node v12.16.3
- How can I go about the upgrade given that I want to use nvm?
- Will I lose the draft posts when I upgrade?