Reputation: 148
I am trying following from official site with following code:
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
but ended with the following error:
Some index files failed to download. They have been ignored, or old ones used instead. Error executing command, exiting
What would be the possible solution?
Upvotes: 1
Views: 100
Reputation: 145
From the commands above, it is obvious you are on Debian Linux Distro, enter the following commands on your terminal to install NodeJS:
=> Close and reopen your terminal, then enter the following commands on your terminal:
The above will install version 5.0 of NodeJS on your box.
Hope this helps...
Upvotes: 1