error with starter-example
Hi,
I tried following steps mentioned here : https://nextjs.org/learn/dashboard-app/getting-started
npm install -g pnpm
which added --> 9.9.0 version
post above steps, I followed :
Command : npx create-next-app@latest nextjs-dashboard --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example" --use-pnpm
upon running above command getting below error :
What is the resolution to be looked into.
I had the same issue and looking for it in google I found this, and it worked for me: https://github.com/vercel/next-learn/issues/346 @delbaoliveira said this Yes @nworbi is on the right track, if you're using a VPN or accessing it from a work/school network, there may be some config that prevents you from cloning from Github.
Is that your case? If so, you can download the folder from Github instead, or try from a different network.
Here's a related issue: https://github.com/vercel/next-learn/issues/60 More info: https://github.com/vercel/next-learn/blob/main/basics/errors/install.md
^ You can also try other package managers. Normal npm might work, or you could use Bun