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 trialMalcolm Horal
5,518 Points"node -v" doesn't work!!
So after installing node i try to run "node -v" in the powershell but i get this message in return:
node : The term 'node' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1
- node -v
- ~~~~
- CategoryInfo : ObjectNotFound: (node:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
Should I add the node directory to my path?
I think this and other tutorial lacks lots of information when it comes to installing things on your own computer and you can't expect us to use the Workspace forever..
1 Answer
Adam Beer
11,314 PointsPlease download again and install npm as well. To ensure Node.js has been installed, run node -v in your terminal - you should get something like "latest version".
Adam Beer
11,314 PointsAdam Beer
11,314 PointsIf it is soothing, then MongoDB will be worse at the beginning :D
Malcolm Horal
5,518 PointsMalcolm Horal
5,518 PointsWell, that didn't help at all. Windows doesn't add new programs to path directly I presume. But why aren't teamtreehouse helping more with this. setting up environments is usually a lot more complicated and important then writing "Hello World!"
Adam Beer
11,314 PointsAdam Beer
11,314 PointsPlease check this link. After the third "next" button select it the npm, and now the node install for you the npm task runner