Skip to content
Advertisement

Installing node.js 6.3.1 – no such file or directory

I’m trying to install the latest version of node on Elementary OS based on Ubuntu 14.04.

I’ve purged all other version of node.

I run this command as explained in a few places on the web:

JavaScript

Then I get this output:

JavaScript

Any ideas?

Advertisement

Answer

You want to use https://deb.nodesource.com/setup_6.x as the URL and not https://deb.nodesource.com/setup_6.3.1.

https://deb.nodesource.com/setup_6.3.1 returns a 404 whereas https://deb.nodesource.com/setup_6.x returns the script you need to run.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement