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 trialjsdevtom
16,963 PointsNodemon 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
Cena Mayo
55,236 PointsTo 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
16,963 Pointsjsdevtom
16,963 Pointsyou are AWESOME, thanks!