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 Express Basics (2015) Developing Express Apps Like a Boss Easily Debug Express (and other node apps)

King Penson II
King Penson II
16,413 Points

Complications on Ubuntu with installing Nodemon and Inspector

Neither modules are responding to my commands. When I do a 'which' command, they both show up as: /usr/bin/nodemon & /usr/bin/node-inspector

I did try to install them incorrectly the first time, apparently I have to use the sudo command. Not sure how to completely uninstall them either.

2 Answers

Maybe just try and reinstall with sudo and with the --force option?

sudo npm install -g --force nodemon node-inspector

npm install docs state:

The --force argument will force npm to fetch remote resources even if a local copy exists on disk.