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

Tech Support
Tech Support
1,172 Points

node-debug command not found? (Windows)

I installed node-inspector globally on my windows machine. I even have an npm-debug.log file in my project. However, when I try to run and node-debug or node-inspector commands, it says they're not found. I'm using GIT BASH to run them. Any Ideas?

1 Answer

Sergio Cruz
Sergio Cruz
15,550 Points

Can you show how you are writing it. Also have you tried checking it's in your path? Do which node-inspector and make sure it installed in the correct path. I had a similar problem when I installed it without writing sudo before the npm install.. and it installed it somewhere else because it didnt have the necessary permissions