From a7e15ef4727de79ec09bfe27d932d55ae6123126 Mon Sep 17 00:00:00 2001 From: Broda Noel Date: Fri, 4 Nov 2022 13:18:21 -0300 Subject: [PATCH] Update command as shown in docs (#95) --- basics/errors/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basics/errors/install.md b/basics/errors/install.md index 08576e3..204f9f9 100644 --- a/basics/errors/install.md +++ b/basics/errors/install.md @@ -5,13 +5,13 @@ If you see an installation error for the following installation command: ```bash -npm init next-app nextjs-blog --example "https://github.com/vercel/next-learn/tree/master/basics/learn-starter" +npx create-next-app nextjs-blog --example "https://github.com/vercel/next-learn/tree/master/basics/learn-starter" ``` Try removing everything after `nextjs-blog`: ```bash -npm init next-app nextjs-blog +npx create-next-app nextjs-blog ``` If that doesn’t work either, please let us know on [GitHub Discussions](https://github.com/vercel/next.js/discussions) with the error text, your OS, and Node.js version (make sure your Node.js version is at least 10.13). You can also reach out to [@chibicode on Twitter](https://twitter.com/chibicode).