Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Chike Onyema
    Chike Onyema
    6,190 Points

    Help Update Global Package npm... I think I'm losing my mind.

    Posted March 5, 2022 6:47pm by Chike Onyema
    Chike Onyema
    6,190 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Global Packages with npm

    1 Answer

  • Fabrizio Onorio
    Fabrizio Onorio
    6,634 Points

    this challenge is weird

    Posted January 3, 2022 1:01pm by Fabrizio Onorio
    Fabrizio Onorio
    6,634 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Global Packages with npm

    1 Answer

  • Fabrizio Onorio
    Fabrizio Onorio
    6,634 Points

    Update the global package npm.

    Posted January 2, 2022 8:26pm by Fabrizio Onorio
    Fabrizio Onorio
    6,634 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Global Packages with npm

    1 Answer

  • Leila Mahmoudi
    Leila Mahmoudi
    5,037 Points

    What is the answer and why?

    Posted December 22, 2021 4:23pm by Leila Mahmoudi
    Leila Mahmoudi
    5,037 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Global Packages with npm

    2 Answers

  • Anthony Secreti
    Anthony Secreti
    10,190 Points

    Was not able to follow along in workspaces!

    Posted July 21, 2021 12:22am by Anthony Secreti
    Anthony Secreti
    10,190 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Uninstalling Packages with npm

    1 Answer

  • Muaaz Matwadia
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Muaaz Matwadia
    Full Stack JavaScript Techdegree Graduate 19,327 Points

    npm update

    Posted April 22, 2021 7:26am by Muaaz Matwadia
    .a{fill-rule:evenodd;}techdegree seal-36
    Muaaz Matwadia
    Full Stack JavaScript Techdegree Graduate 19,327 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Global Packages with npm

    1 Answer

  • Jamar Taylor
    Jamar Taylor
    9,586 Points

    I'm getting an error and I don't understand why?

    Posted February 3, 2021 4:36pm by Jamar Taylor
    Jamar Taylor
    9,586 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Global Packages with npm

    1 Answer

  • Kaya Jackson
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Kaya Jackson
    Full Stack JavaScript Techdegree Student 8,734 Points

    What package is being update?

    Posted January 5, 2021 10:51pm by Kaya Jackson
    .a{fill-rule:evenodd;}techdegree
    Kaya Jackson
    Full Stack JavaScript Techdegree Student 8,734 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Global Packages with npm

    1 Answer

  • kristinaflamer
    kristinaflamer
    10,076 Points

    "Workspace Connection Lost"

    Posted November 21, 2020 12:50am by kristinaflamer
    kristinaflamer
    10,076 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Packages with npm

    1 Answer

  • Thomas Ma
    Thomas Ma
    15,199 Points

    Uninstall the global package coffee-script.

    Posted October 30, 2020 11:16pm by Thomas Ma
    Thomas Ma
    15,199 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Uninstalling Packages with npm

    1 Answer

  • Bashir Orfani
    Bashir Orfani
    13,170 Points

    npm global package update

    Posted June 21, 2020 1:53pm by Bashir Orfani
    Bashir Orfani
    13,170 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Global Packages with npm

    1 Answer

  • Jivansh Bakshi
    Jivansh Bakshi
    2,564 Points

    npm uninstall removed dependencies from package.json file

    Posted October 30, 2019 5:34am by Jivansh Bakshi
    Jivansh Bakshi
    2,564 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Uninstalling Packages with npm

    1 Answer

  • Will Albertsen
    Will Albertsen
    13,155 Points

    What is the answer?

    Posted August 30, 2019 7:15pm by Will Albertsen
    Will Albertsen
    13,155 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Global Packages with npm

    1 Answer

  • Will Albertsen
    Will Albertsen
    13,155 Points

    What's the answer?

    Posted August 29, 2019 8:34pm by Will Albertsen
    Will Albertsen
    13,155 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Global Packages with npm

    2 Answers

  • L Haney
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    L Haney
    Front End Web Development Techdegree Student 10,263 Points

    Which command will ignore developer dependencies when you use npm install?

    Posted August 14, 2019 6:44pm by L Haney
    .a{fill-rule:evenodd;}techdegree
    L Haney
    Front End Web Development Techdegree Student 10,263 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • npm Basics Review

    1 Answer

  • Nicholas Smay
    Nicholas Smay
    14,768 Points

    package-lock.json created when updating packages

    Posted March 12, 2019 7:00pm by Nicholas Smay
    Nicholas Smay
    14,768 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Packages with npm

    1 Answer

  • Kevin Ohlsson
    Kevin Ohlsson
    4,559 Points

    npm uninstall removes dependency in .json

    Posted July 23, 2018 2:47pm by Kevin Ohlsson
    Kevin Ohlsson
    4,559 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Uninstalling Packages with npm

    1 Answer

  • Jesse Thompson
    Jesse Thompson
    10,684 Points

    Where should the node_modules & package folder be when uploading an app to a server to be hosted live?

    Posted April 5, 2018 3:21pm by Jesse Thompson
    Jesse Thompson
    10,684 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Packages with npm

    1 Answer

  • jlampstack
    jlampstack
    23,932 Points

    How can we view a list of all global dependencies installed?

    Posted November 5, 2017 12:56pm by jlampstack
    jlampstack
    23,932 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Uninstalling Packages with npm

    1 Answer

  • Carlos Vieira
    PLUS
    Carlos Vieira
    Courses Plus Student 1,345 Points

    In witch way updating a global package will affect a local package?

    Posted July 31, 2017 6:12pm by Carlos Vieira
    Carlos Vieira
    Courses Plus Student 1,345 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Packages with npm

    1 Answer

  • Gerry K
    Gerry K
    5,877 Points

    Trying to uninstall an npm package from a project on my local machine

    Posted July 5, 2017 9:05am by Gerry K
    Gerry K
    5,877 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Uninstalling Packages with npm

    2 Answers

  • James Barrett
    James Barrett
    13,253 Points

    Updating an individual package

    Posted April 5, 2017 9:34am by James Barrett
    James Barrett
    13,253 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Packages with npm

    1 Answer

  • abdo wsdsla
    PLUS
    abdo wsdsla
    Courses Plus Student 306 Points

    here after changing the NODE_ENV =production, so mocha is not in the node_modules,npm outdate see that mocha not found?

    Posted March 22, 2017 9:03am by abdo wsdsla
    abdo wsdsla
    Courses Plus Student 306 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Packages with npm

    0 Answers

  • Rita A
    Rita A
    4,732 Points

    Once you install your dependencies, do you still leave a script link to the MDN version just in case?

    Posted November 20, 2016 5:17am by Rita A
    Rita A
    4,732 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Uninstalling Packages with npm

    1 Answer

  • Christopher Parke
    Christopher Parke
    21,978 Points

    NPM update command does nothing.

    Posted October 12, 2016 7:33pm by Christopher Parke
    Christopher Parke
    21,978 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Packages with npm

    1 Answer

  • Robert Richey
    PLUS
    Robert Richey
    Courses Plus Student 16,352 Points

    Minor bug in teacher's notes (pun intended) - Updating Packages with NPM

    Posted February 28, 2016 8:50pm by Robert Richey
    Robert Richey
    Courses Plus Student 16,352 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Packages with npm

    1 Answer

  • Jefferson Lessa
    Jefferson Lessa
    5,684 Points

    How do I update a npm package to its lastest version?

    Posted November 8, 2015 9:24pm by Jefferson Lessa
    Jefferson Lessa
    5,684 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Packages with npm

    2 Answers

  • Martina Carrington
    PLUS
    Martina Carrington
    Courses Plus Student 15,807 Points

    Challenge Task 1 of 1 Update the global package npm.

    Posted August 7, 2015 1:41am by Martina Carrington
    Martina Carrington
    Courses Plus Student 15,807 Points
    • JavaScript
    • npm Basics (retiring)
    • Updating and Uninstalling Packages with npm
    • Updating Global Packages with npm

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord