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) Updating and Uninstalling Packages with npm Uninstalling Packages with npm

Uninstall the global package coffee-script.

Please help me I'm stuck.

1 Answer

npm uninstall coffee-script -g

Uninstalling should be pretty easy and keep in mind that when you want to do something globally just add a -g

It still says 'You're missing the coffee-script package'

Thomas Ma did you install coffee-script globally? npm install coffee-script -g also it is up to you if you want to use coffee-script globally or not. personally i would not install globally, and if i recall in updating and uninstalling with npm course you did not need to install coffeesciprt but just for example? To install something to your project, you would do npm install whatever you want to install. If you want to install something globally you would also do npm install whatever you want to install -g and add a -g to install globally. To uninstall, it is about the same thing, npm uninstall whatever you want to install. Then if u want to uninstall a package that is global, npm uninstall whatever package -g with a dash g again at the end. Hope this helps!