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
jugnu gill
1,779 Pointswrong question - missing package name
This question is not telling me which global package it wants me to update
jugnu gill
1,779 Pointshere is the link - this is from npm basics course
4 Answers
Steven Parker
243,318 PointsThe challenge says "Update the global package npm."
So the name of the global package it wants you to update is npm (itself).
jugnu gill
1,779 PointsI thought the same thing but doesn’t look like it. I tried all the options
npm update -g doesn’t work either
Steven Parker
243,318 PointsWell, no, because you still need to name the package being updated.
The first "npm" on the line just invokes the command. Hint: think of how you would update a global package named "bubba" and then replace "bubba" with "npm".
jugnu gill
1,779 PointsI tried
npm npm update -g
Still no luck !
Steven Parker
243,318 PointsYou're really close, but that syntax isn't quite right. You might want to review the video that shows an example of a package update command (near the end of the video).
jugnu gill
1,779 Pointsthank you Steven!! I got it.
Steven Parker
243,318 PointsSteven Parker
243,318 PointsPlease provide a link to the course page you are working with, so someone can see what you are referring to.
If it's a quiz, it would also help to quote the question, since there are usually several.