next-learn icon indicating copy to clipboard operation
next-learn copied to clipboard

Learn Next.js Starter Code

Results 275 next-learn issues
Sort by recently updated
recently updated
newest added

Uppon importing useActionState like so: `import { useActionState } from 'react';` The following error appears: `Module '"react"' has no exported member 'useActionState'.ts(2305)` When searching on Google, the official [React Documentation](https://react.dev/reference/react/useActionState)...

When creating the app, next 14 is used, but the version of next used by the starter example is version 15 RC, replacing the initial configurations and making it difficult...

I had tried so many time. and also followed all the steps from docs but still does not works. At first in the data tab of database at vercel no...

Trying to follow the tutorial here: https://nextjs.org/learn/basics/create-nextjs-app/setup I can't get past the first step "Create a Next.js app". Tried running the following command: `npx create-next-app@latest nextjs-dashboard --example https://github.com/vercel/next-learn/tree/main/dashboard/starter-example --use-pnpm` I...

We need to add the "create database" step as part of the template when we deploy for the first time, so the first deployment does not fail. https://nextjs.org/learn/dashboard-app/setting-up-your-database Related issue:...

After seeding the database and navigating to the Vercel data section I'm unable to see any tables in the dropdown. I also can't click on the dropdown as the cursor...

### Issue Declaration of initialState is missing type (State) annotation, which causes an error: ![image](https://github.com/vercel/next-learn/assets/7285657/e3e6b40a-1475-4d84-9105-d3ae17539c70) ![image](https://github.com/vercel/next-learn/assets/7285657/c99d0e9e-655f-41a7-9b6a-c733576fcf10) ``` No overload matches this call. ... Overload 2 of 2 ... Types of...

After fetching data from latest invoice section it loops through **one particular name of customer 5 times** without generating 5 different names of customers with different description.

ignore `@/app/seed` folder to prevent students getting stuck at step 6 (deploying vercel project) with error "missing routes" (missing_connection_string). Correcting a typo in latest-invoices.tsx. not chapter 9 but 7

# When I after following every instruction I ran vercel from the cli, I also I have tried from the vercel website but it says that it is having a...