Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

NodeJS Install Tutorial

Hello, i want to follow the tutorial from the teachers notes but it didn't work for me. I was getting always some weird errors that packages don't exist.

I followed this Tutorial to install NodeJS on a Virtual Machine. (VirtualBox)

https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server

1 Answer

Kjetil-Lennart A. Lorentzen
Kjetil-Lennart A. Lorentzen
13,390 Points

Try the one from the official site instead: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

USE Debian and Ubuntu based Linux distributions

It might say that Curl is not installed (it did for me). In that case install it. Instructions will pop up. just in case it doesn't: sudo apt install curl

Curl sends a get-request to the link you're providing, if you provide a download-link, it's essentially the same as clicking on the download-link from the terminal. The pack will download and you open it.