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)

jsdevtom
jsdevtom
16,963 Points

Nodemon install error: "npm WARN install Couldn't install optional dependency: Unsupported"

When I try to install nodemon using npm install -g nodemon, zsh console logs :

"npm WARN install Couldn't install optional dependency: Unsupported"

Why is this? Is it important?

1 Answer

Probably not.

To quote the end of a very long thread:

"Couldn't install optional dependency: Unsupported" is not an error!

It's a log message that an optional dependency could not be installed because it is not supported/needed on your current platform/cpu-arch. For example the package fsevents is often used as optional dependency but fails on any system that is not a Mac.

To show what package is throwing this message, try npm install --verbose

Hope that helps! Cena

jsdevtom
jsdevtom
16,963 Points

you are AWESOME, thanks!