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
  • juliaels
    juliaels
    10,577 Points

    Workspace for this project keeps reloading.

    Posted June 7, 2021 2:08am by juliaels
    juliaels
    10,577 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    0 Answers

  • Hanwen Zhang
    Hanwen Zhang
    20,084 Points

    What means by 'Dependencies' in the package.json File?

    Posted April 26, 2021 4:13pm by Hanwen Zhang
    Hanwen Zhang
    20,084 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Busyairi Ramadhan
    Busyairi Ramadhan
    6,719 Points

    app not working, node: symbol lookup error...

    Posted October 23, 2020 7:17am by Busyairi Ramadhan
    Busyairi Ramadhan
    6,719 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    2 Answers

  • Stheven Cabral
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Stheven Cabral
    Full Stack JavaScript Techdegree Graduate 29,854 Points

    Help understanding gitignore

    Posted May 3, 2020 3:25pm by Stheven Cabral
    .a{fill-rule:evenodd;}techdegree seal-36
    Stheven Cabral
    Full Stack JavaScript Techdegree Graduate 29,854 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Ewerton Luna
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Ewerton Luna
    Full Stack JavaScript Techdegree Graduate 24,031 Points

    I was being able to use bcrypt UNTIL I updated npm

    Posted December 5, 2019 1:51pm by Ewerton Luna
    .a{fill-rule:evenodd;}techdegree seal-36
    Ewerton Luna
    Full Stack JavaScript Techdegree Graduate 24,031 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Ewerton Luna
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Ewerton Luna
    Full Stack JavaScript Techdegree Graduate 24,031 Points

    npm install colors --save is adding another json file to the project. Is it right?

    Posted December 5, 2019 1:47pm by Ewerton Luna
    .a{fill-rule:evenodd;}techdegree seal-36
    Ewerton Luna
    Full Stack JavaScript Techdegree Graduate 24,031 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    3 Answers

  • Ivan Marchenko
    Ivan Marchenko
    8,962 Points

    bcrypt generates different hash each time.

    Posted August 19, 2019 9:52am by Ivan Marchenko
    Ivan Marchenko
    8,962 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • vamosrope14
    vamosrope14
    14,932 Points

    When a package.json file is included in your project, does npm install dependencies for that package automatically?

    Posted August 4, 2019 12:01am by vamosrope14
    vamosrope14
    14,932 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Adam Lyles Kauffman
    Adam Lyles Kauffman
    14,016 Points

    bcrypt not included in dependencies

    Posted May 7, 2019 3:51pm by Adam Lyles Kauffman
    Adam Lyles Kauffman
    14,016 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Nicholas Smay
    Nicholas Smay
    14,768 Points

    Where are NPM packages downloaded?

    Posted March 11, 2019 9:50pm by Nicholas Smay
    Nicholas Smay
    14,768 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Johnny Garces
    PLUS
    Johnny Garces
    Courses Plus Student 8,551 Points

    what is NODE_ENV and why did the teacher mention it in the video?

    Posted January 25, 2019 8:07pm by Johnny Garces
    Johnny Garces
    Courses Plus Student 8,551 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Aakash Srivastava
    Aakash Srivastava
    5,415 Points

    Managing dependencies

    Posted September 26, 2018 9:54am by Aakash Srivastava
    Aakash Srivastava
    5,415 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Ceil-Ian Maralit
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Ceil-Ian Maralit
    Front End Web Development Techdegree Graduate 19,434 Points

    Cannot find module 'colors'

    Posted September 14, 2018 7:21am by Ceil-Ian Maralit
    .a{fill-rule:evenodd;}techdegree seal-36
    Ceil-Ian Maralit
    Front End Web Development Techdegree Graduate 19,434 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Craig Peckett
    Craig Peckett
    10,531 Points

    After I delete my node modules folder and do an npm install it just adds the folder back in again?

    Posted September 2, 2018 2:52am by Craig Peckett
    Craig Peckett
    10,531 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • learning67learning67
    learning67learning67
    6,479 Points

    can not change the name of gitignore.txt to .gitignore on mac OS

    Posted May 30, 2018 7:11am by learning67learning67
    learning67learning67
    6,479 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • tal Shnitzer
    PLUS
    tal Shnitzer
    Courses Plus Student 5,242 Points

    how to set the node environment to develop again?

    Posted May 27, 2018 2:28pm by tal Shnitzer
    tal Shnitzer
    Courses Plus Student 5,242 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    0 Answers

  • Sankar Cherukuri
    Sankar Cherukuri
    9,837 Points

    What is the Exact meaning and types & usage of Dependency in NPM?

    Posted April 3, 2018 9:01am by Sankar Cherukuri
    Sankar Cherukuri
    9,837 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Sean Flanagan
    Sean Flanagan
    33,237 Points

    Error occurs when trying to delete node_modules

    Posted February 21, 2018 9:49pm by Sean Flanagan
    Sean Flanagan
    33,237 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Jason Choi
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jason Choi
    Front End Web Development Techdegree Graduate 21,159 Points

    There are bunch of other packages installed in node_modules folder

    Posted February 15, 2018 6:01am by Jason Choi
    .a{fill-rule:evenodd;}techdegree seal-36
    Jason Choi
    Front End Web Development Techdegree Graduate 21,159 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Howard Goldstein
    Howard Goldstein
    9,399 Points

    How to add module to package.json if it is already a global package

    Posted November 10, 2017 9:12pm by Howard Goldstein
    Howard Goldstein
    9,399 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    2 Answers

  • Carrie Happoldt
    Carrie Happoldt
    15,160 Points

    Why does "npm install" install all of the npm files, even ones I haven't specified

    Posted July 12, 2017 7:04pm by Carrie Happoldt
    Carrie Happoldt
    15,160 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Craig Curtis
    Craig Curtis
    19,985 Points

    Difference between npm install something vs. npm install something --save vs. npm install something --save-dev

    Posted November 28, 2016 5:02am by Craig Curtis
    Craig Curtis
    19,985 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Kathryn Notson
    Kathryn Notson
    25,941 Points

    npm Basics > Installing Packages with npm > Managing Dependencies in the package.json File

    Posted October 28, 2016 5:02pm by Kathryn Notson
    Kathryn Notson
    25,941 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    2 Answers

  • fredyrosales
    fredyrosales
    10,572 Points

    Need help getting Packages in Dependencies.

    Posted October 13, 2016 6:40pm by fredyrosales
    fredyrosales
    10,572 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Susan Rusie
    Susan Rusie
    10,671 Points

    Why am I getting this npm error?

    Posted October 2, 2016 1:30am by Susan Rusie
    Susan Rusie
    10,671 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    3 Answers

  • Alex Flores
    Alex Flores
    7,864 Points

    I don't understand the --python=python2?

    Posted July 17, 2016 9:51pm by Alex Flores
    Alex Flores
    7,864 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Dennis Eitner
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Dennis Eitner
    Full Stack JavaScript Techdegree Graduate 25,644 Points

    node app.js returns undefined in console

    Posted May 30, 2016 9:10am by Dennis Eitner
    .a{fill-rule:evenodd;}techdegree seal-36
    Dennis Eitner
    Full Stack JavaScript Techdegree Graduate 25,644 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    3 Answers

  • Fernando Boza
    Fernando Boza
    25,384 Points

    No dependencies in my package.json file.

    Posted April 20, 2016 11:45am by Fernando Boza
    Fernando Boza
    25,384 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    3 Answers

  • Antonio Jaramillo
    Antonio Jaramillo
    15,604 Points

    Development vs. Production environment

    Posted October 14, 2015 6:03pm by Antonio Jaramillo
    Antonio Jaramillo
    15,604 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    1 Answer

  • Iain Simmons
    Iain Simmons
    32,305 Points

    NODE_ENV=production in Windows

    Posted September 10, 2015 6:00am by Iain Simmons
    Iain Simmons
    32,305 Points
    • JavaScript
    • npm Basics (retiring)
    • Installing Packages with npm
    • Managing Dependencies in the package.json File

    2 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