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 trialAnthony c
20,907 PointsExpress not showing up in package.json
This is what I'm seeing after doing npm install express --s
MYNAME-MacBook-Air:express-basics MYUSER$ npm install express --s
express-basics@1.0.0 /Users/MYNAME/Desktop/projects/express-basics
āāā express@4.13.3 extraneous
2 Answers
Victor Rodriguez
15,015 Pointsaccording to the docs https://docs.npmjs.com/cli/install there is a --save option, and a -S option, but no --s option. I would assume this is the problem, as npm does tend to fail silently for minor issues.
Anthony c
20,907 PointsI deleted my file and restarted from cloning the repository-- and now it works.
Unfortunately, I'm not sure what went wrong originally. If somebody else hits this problem, I suggest you just go through the stops again.