From fe1890234a127dfe5937e3cfc457422071b58d17 Mon Sep 17 00:00:00 2001 From: Phippsy Date: Fri, 16 Oct 2020 08:12:15 +1100 Subject: [PATCH] Suggested improvement for beginner documentation This is a proposed fix for #5443 Without git installed `npx degit sveltejs/template my-svelte-project` results in ``` npx: installed 1 in 0.839s ! could not fetch remote https://github.com/sveltejs/template ! could not find commit hash for master ``` From a newbie perspective it isn't immediately obvious that git is required. I've updated this post to make that more clear. --- site/content/blog/2019-04-16-svelte-for-new-developers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/blog/2019-04-16-svelte-for-new-developers.md b/site/content/blog/2019-04-16-svelte-for-new-developers.md index 921e699842..c58c6a6388 100644 --- a/site/content/blog/2019-04-16-svelte-for-new-developers.md +++ b/site/content/blog/2019-04-16-svelte-for-new-developers.md @@ -58,7 +58,7 @@ To write code, you need a good editor. The most popular choice is [Visual Studio We're going to follow the instructions in part two of [The easiest way to get started with Svelte](/blog/the-easiest-way-to-get-started). -First, we'll use npx to run [degit](https://github.com/Rich-Harris/degit), a program for cloning project templates from [GitHub](https://github.com) and other code storage websites. You don't have to use a project template, but it means you have to do a lot less setup work. +First, we'll use npx to run [degit](https://github.com/Rich-Harris/degit), a program for cloning project templates from [GitHub](https://github.com) and other code storage websites. You don't have to use a project template, but it means you have to do a lot less setup work. You will need to have [git](https://git-scm.com/) installed in order to use degit. (Eventually you'll probably have to learn [git](https://git-scm.com/), which most programmers use to manage their projects. But you don't need to worry about it just yet.)