From edb523f59563dfdbcec03a7f3f1d6bd0b5791c0c Mon Sep 17 00:00:00 2001 From: hariantara Date: Wed, 24 Jun 2026 15:47:02 +0800 Subject: [PATCH] docs: fix outdated run instructions in CONTRIBUTING.md The project migrated to Astro (npm/pnpm), but CONTRIBUTING.md still told contributors to run `yarn install` and `yarn start`. There is no `start` script in package.json, so new contributors hit an error on their first run. Updated to use npm + the actual `dev` script and the correct Astro dev port (4321). --- CONTRIBUTING.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c44e7a2b..1269f14f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -22,7 +22,7 @@ where `` is your GitHub username. Here you're copying the contents of your firstcontributions.github.io repository on GitHub to your computer. ## Running The Project -You should have [yarn](https://yarnpkg.com/en/docs/install) and [node](https://nodejs.org/en/download/) to run the project locally. +You should have [node](https://nodejs.org/en/download/) (v18+) and npm (or [pnpm](https://pnpm.io/installation)) to run the project locally. Change to the repository directory on your computer (if you are not already there): ``` @@ -31,14 +31,13 @@ cd firstcontributions.github.io Then install the required Dependencies using: ``` - yarn install +npm install ``` *If you run into a dependencies issue, try removing `node_modules`.* After installation, run: ``` -yarn start +npm run dev ``` -Now you can open your cloned project at ` http://localhost:3000/ -` +Now you can open your cloned project at `http://localhost:4321/`