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

JavaScript npm Basics (retiring) What is npm? Introducing npm

Victoria Si
Victoria Si
8,080 Points

Node installed but shows not-install-error

This is copy and paste from the terminal. I checked the version of node, but when I tried to upgrade node it gave me a "node not installed" error. Would anyone kindly explain it? Thanks!

Weis-MacBook-Pro:~ sisi_home$ node -v v4.2.2 Weis-MacBook-Pro:~ sisi_home$ brew upgrade node Error: node not installed

1 Answer

Pedro Sousa
seal-mask
.a{fill-rule:evenodd;}techdegree
Pedro Sousa
Python Development Techdegree Student 18,546 Points

Hello Victoria,

My first thoughts would be:

  • Are you certain you installed it with brew?
  • If so, maybe update the brew formulas with "brew update" first, and then trying again you "brew upgrade node"?

Cheers, Pedro