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!
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
Brendan WhitingFront End Web Development Techdegree Graduate 84,733 Points
npm install on my machine is defaulting to global
I'm trying to practice some of what I learned in Gulp on my local machine, but when I try and do
npm install [module] it defaults to global without me adding the -g flag. It doesn't add a node_modules folder in my local directory.
Maybe I changed some preferences at some point? Trying to read the docs but I can't make sense of it.
Sorry I could not reply sooner, but glad to hear you have it sorted...