Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
fix error message during create-next-app (vercel#26980)
Browse files Browse the repository at this point in the history
  • Loading branch information
anindya-dey authored Jul 7, 2021
1 parent afe6875 commit a91c958
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/create-next-app/create-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ export async function createApp({
console.error(
`Could not locate an example named ${chalk.red(
`"${example}"`
)}. Please check your spelling and try again.`
)}. It could be due to the following:\n`,
`1. Your spelling of example ${chalk.red(
`"${example}"`
)} might be incorrect.\n`,
`2. You might not be connected to the internet.`
)
process.exit(1)
}
Expand Down

0 comments on commit a91c958

Please sign in to comment.