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 trialFrederick Rogers
25,142 PointsProblems running "Nodemon/node-inspector" on windows using powershell
Hi,
when installing nodemon using "npm install -g nodemon - OR - npm install nodemon -g" i get this error when ever i try to run "nodemon app.js". I get the same error message when trying to use node-inspector.
nodemon : The term 'nodemon' is not recognized as the name of a cmdlet, function, script file, or operable program. Che ck 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
- nodemon
- ~~~~~~~
- CategoryInfo : ObjectNotFound: (nodemon:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
I have tried to reinstall multiple times.
I am running node on Windows 10, using Powershell as my command line. Any help would be appreciated.
EDIT: I have tried installing nodemon and node-inspector with command line applications, such as CMD and badun with the same result only different msg. Badun returned "zsh: command not found: nodemon/node-debug".
Any and all help would be appreciated as this is really preventing me from continuing on with this course.
2 Answers
roses
5,585 PointsHave you solved this issue yet? I'm not sure what's going on, but you might want to check out the following links. The first is to stack overflow and the second is to treehouse where ppl have asked similar questions to yours.
https://teamtreehouse.com/community/nodemon-command-not-found
Good luck, and sorry I couldn't be more helpful
Frederick Rogers
25,142 PointsHi Rose,
I never did solve this problem, instead i bypassed it entirely by setting up Ubuntu on VirtualBox and running the entire project from there. Many of the tools used in this particular course were made with Linux in mind and are only partially functional on Windows. I think it would behoove anybody doing this particular course to do the same as i did. Thank you for taking an interest, i will look over the links and see if i can't get it working! :)
PS! This problem will become irrelevant as soon as Microsoft release their Linux Bash for Windows, which will let Windows users install and run native linux apps in windows as well as give us access to the command line tool.