From a7b68d4073c7ce703abf04d9d057fdc6c94a2473 Mon Sep 17 00:00:00 2001 From: Steven <1477010+stnguyen90@users.noreply.github.com> Date: Fri, 16 Dec 2022 09:16:41 -0800 Subject: [PATCH] Update contributing guide for dev server Add step for creating .env file and note for adblocker. --- CONTRIBUTING.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ffb3cfc140..c7787329e4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,12 +33,17 @@ If you are worried or don’t know where to start, check out our next section ex ## Development -Once you've created a project and installed dependencies with `npm install`, start a development server: +Once you've created a project and installed dependencies with `npm install`, create a `.env` file using `.env.example` as a template. + +Finally, start a development server: ```bash npm run dev ``` +> **Note** +> If http://localhost:3000 is blank and the browser console logs have a `TypeError: Failed to fetch dynamically imported module: http://localhost:3000/.svelte-kit/generated/nodes/0.js` error, try to turn off any ad blocker you have and reload the page ([reference](https://github.com/sveltejs/kit/issues/3308#issuecomment-1149942109)). + ### Build ```bash