I am trying to update ERPNext from current version and getting below error when I try to run bench update command.
$ bench update
Please update node to latest version before running “bench update”. Please install latest node version before running “bench update”. For installation instructions please refer “Debian and Ubuntu based Linux distributions” section or “Enterprise Linux and Fedora” section depending upon your OS on the following link, “Installing Node.js via package manager | Node.js”
I installed nodejs successfully using following command
$ sudo yum install nodejs
But I am still giving error for nodejs as described above.
Can someone please help me in fixing the issue?