Forums

update node.js

Hi, I'm trying to build my react app and npm doesn't support installed node.js version. How can I update it?

See our help pages about this.

Am I right that a free account does not provide enough disk space to install node?

No, there should be enough -- I just installed the current LTS and it used up 91MiB -- leaving over 400MiB free. Here are the commands I used:

git clone https://github.com/creationix/nvm.git
source ~/nvm/nvm.sh
nvm ls-remote
nvm install v10.16.0

just out of curiosity, why is 0.10 preinstalled when 14 version is available?

Because it was installed with pre-build system image. It will be upgraded in the next one later this year.