by running this command curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash – and sudo apt-get install -y nodejs. this following is occurs may be this is error in the end. # Installing the NodeSource Node.js 10.x repo… ## Populating apt-get cache… enter code here` + apt-get update Hit:1 https://deb.nodesource.com/node_8.x xenial InRelease Hit:2 https://download.sublimetext.com apt/stable/ InReleaseRead more