Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Ubuntu 18.04 installs 8.x from main repos instead of 6.x from nodesource #657
When I setup the 6.x nodesource repo it installs the 8.x "latest" from the main repos. While not a huge problem, I expected nodesource's node which includes npm.
I can't install node 6.x without specifying the version, which isn't horrible (I'm using salt and it's easy), but it's not what I expected.
If you add the following to your
Verify it's picking the right nodejs by using
If you already have a newer version installed from the Ubuntu repo
Two minor suggestions: Limit the pinning to the
For example, in
I’ve also opened pull request #684 to add an FAQ entry regarding this issue.