Files
next-learn/errors/install.md
2020-04-25 10:12:06 -07:00

796 B
Raw Blame History

Create a Next.js App - Installation Error

Linked from https://nextjs.org/learn/basics/create-nextjs-app/setup

If you see an installation error for the following installation command:

npm init next-app nextjs-blog --example "https://github.com/zeit/next-learn-starter/tree/master/learn-starter"

Try removing everything after --example:

npm init next-app nextjs-blog

And hit return to choose the default template:

  Default starter app

If that doesnt work either, please let us know on GitHub 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.