Cloudways is one of the go-to managed cloud hosting platforms at this moment. For a very affordable price, you can easily deploy new websites & applications on servers all over the world, from different providers (DigitalOcean, Vultr & more).
Where Cloudways is mostly used to deploy & host WordPress websites, they also offer the possibility to host other types of applications, such as Laravel & Magento. It’s also possible to install Node-based projects such as Nuxt.js, but there is one problem: the default Node version might not match your requirements, and you can’t use sudo
to update them.
Even though a concrete solution cannot be found on the internet (at the time of writing), there is a way to get another Node version to work through NVM. This method is officially supported by Cloudways, so it’s no ‘hacky’ workaround. Follow the steps below to get it working.
#nodejs #nvm #node #npm #cloudways