By the end of this lesson you will run a web project that someone (or an AI) gave you, with npm install and npm run dev, read what the terminal tells you, and hand any error to the AI.
You need: Node.js LTS installed (set up your computer) and a project folder, for example one your agent made · Time: 9 minutes
Open a terminal in the project folder (how) and list what's there:
Four names to know:
package.json: the project's recipe card. It lists the packages (ready-made code from other people) the project needs, and its scripts (short names for commands, likedev).README.md: the instructions. Read it first; it often says exactly which commands to run.node_modules: the folder where packages get downloaded. It can hold thousands of files. Never edit it and never commit it to Git..env.example: if present, a list of settings the project needs, without the real values.
Why?The README and
package.jsonanswer "how do I run this?" before you ask anyone. Many projects need one extra step (like copying.env.exampleto.env) that only the README mentions.
Log in free to read the rest of this lesson
Every lesson is free. A free account unlocks all of them and saves your progress.
Still to come in this lesson:
- Install the packages
- Start the app with npm run dev
- Two terminals: one runs, one talks
- Read what the terminal tells you
- Hand the error to the AI
- Recap