Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Alex Martini
Alex Martini
5,913 Points

Node.js installed using sudo - should I uninstall and use Homebrew?

Hi,

I'm new to programming in general and am trying to understand all of this as I do it, so please bare with me! (especially if I say something that makes no sense at all ;))

I have a template that I'm playing with which is using Angular. When I originally set the template up, I installed node.js via Terminal using the sudo command. I also installed bower and gulp. The second time I went into my project, I ran gulp and everything was fine. However, the last time I went to work on my project Angular was not running when I viewed my pages in the browser. I went into my directory in terminal and tried using npm install and received the following: Angle@0.0.0 No repository field. I've been googling, but I haven't found anything helpful. I'm just confusing myself even more.

Before I completely screw up my computer playing around in sudo, should I just uninstall node and reinstall using Homebrew? The files were too large to include with the project, so I need to run commands to get all of the dependencies when working on this project. Would this be a better route?

Thank you